Bug 1733680 [Linux] Check mGPUChild at GPUProcessManager::SimulateDeviceReset(), r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D127317
This commit is contained in:
@@ -473,7 +473,7 @@ void GPUProcessManager::SimulateDeviceReset() {
|
||||
|
||||
if (mProcess) {
|
||||
GPUDeviceData data;
|
||||
if (mGPUChild->SendSimulateDeviceReset(&data)) {
|
||||
if (mGPUChild && mGPUChild->SendSimulateDeviceReset(&data)) {
|
||||
gfxPlatform::GetPlatform()->ImportGPUDeviceData(data);
|
||||
}
|
||||
OnRemoteProcessDeviceReset(mProcess);
|
||||
|
||||
Reference in New Issue
Block a user