Bug 735600 - Don't composite when the layer tree is empty. r=bgirard

This commit is contained in:
Ali Juma 2012-03-14 10:54:34 -04:00
parent d9bb2c4134
commit 92d38d1e22

View File

@ -185,7 +185,7 @@ CompositorParent::Composite()
mLastCompose = mozilla::TimeStamp::Now();
if (mPaused || !mLayerManager) {
if (mPaused || !mLayerManager || !mLayerManager->GetRoot()) {
return;
}