From 223ed063daf144ed86bf9763994492610ae3af80 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 31 Oct 2016 16:03:41 -0700 Subject: [PATCH] Fix UI process not properly waiting for the GPU process to finish launching. (bug 1314127, r=rhunt) --- gfx/ipc/GPUProcessManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/ipc/GPUProcessManager.cpp b/gfx/ipc/GPUProcessManager.cpp index 06fa8f364a1f..35558daba228 100644 --- a/gfx/ipc/GPUProcessManager.cpp +++ b/gfx/ipc/GPUProcessManager.cpp @@ -148,7 +148,7 @@ GPUProcessManager::DisableGPUProcess(const char* aMessage) void GPUProcessManager::EnsureGPUReady() { - if (mProcess && mProcess->IsConnected()) { + if (mProcess && !mProcess->IsConnected()) { if (!mProcess->WaitForLaunch()) { // If this fails, we should have fired OnProcessLaunchComplete and // removed the process.