Backed out changeset 0f81ceab808a (bug 774388)

This commit is contained in:
Ed Morley 2014-06-06 15:58:54 +01:00
parent 9ff863720b
commit beb2556581

View File

@ -727,9 +727,7 @@ CompositorParent::ForceComposeToTarget(DrawTarget* aTarget, const nsIntRect* aRe
bool
CompositorParent::CanComposite()
{
return mLayerManager &&
mLayerManager->GetRoot() &&
!mPaused;
return !(mPaused || !mLayerManager || !mLayerManager->GetRoot());
}
// Go down the composite layer tree, setting properties to match their