Bug 1232042 - Addendum: Add comment for mLayerManager check. r=jrmuizel
authorBas Schouten <bschouten@mozilla.com>
Wed, 24 Feb 2016 21:24:26 +0000
changeset 321800 68295c584858b9825fdea9c5903c01080826c354
parent 321799 246e0ff966fccc52fac204aa2dea7767a8a54134
child 321801 0b3ff4c722a66125141ac8ba6809b296618f717f
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1232042
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1232042 - Addendum: Add comment for mLayerManager check. r=jrmuizel
gfx/layers/ipc/CompositorParent.cpp
--- a/gfx/layers/ipc/CompositorParent.cpp
+++ b/gfx/layers/ipc/CompositorParent.cpp
@@ -870,16 +870,17 @@ CompositorParent::RecvFlushRendering()
     ForceComposeToTarget(nullptr);
   }
   return true;
 }
 
 bool
 CompositorParent::RecvForcePresent()
 {
+  // During the shutdown sequence mLayerManager may be null
   if (mLayerManager) {
     mLayerManager->ForcePresent();
   }
   return true;
 }
 
 bool
 CompositorParent::RecvGetTileSize(int32_t* aWidth, int32_t* aHeight)