summaryrefslogtreecommitdiffstats
path: root/gfx/ipc/GPUProcessManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/ipc/GPUProcessManager.cpp')
-rw-r--r--gfx/ipc/GPUProcessManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/ipc/GPUProcessManager.cpp b/gfx/ipc/GPUProcessManager.cpp
index 0584b70..f980242 100644
--- a/gfx/ipc/GPUProcessManager.cpp
+++ b/gfx/ipc/GPUProcessManager.cpp
@@ -785,8 +785,8 @@ bool GPUProcessManager::CreateContentCompositorManager(
if (mGPUChild) {
mGPUChild->SendNewContentCompositorManager(Move(parentPipe));
- } else {
- CompositorManagerParent::Create(Move(parentPipe));
+ } else if (!CompositorManagerParent::Create(Move(parentPipe))) {
+ return false;
}
*aOutEndpoint = Move(childPipe);