mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 735600 - Don't composite when the layer tree is empty. r=bgirard
This commit is contained in:
parent
d9bb2c4134
commit
92d38d1e22
@ -185,7 +185,7 @@ CompositorParent::Composite()
|
||||
|
||||
mLastCompose = mozilla::TimeStamp::Now();
|
||||
|
||||
if (mPaused || !mLayerManager) {
|
||||
if (mPaused || !mLayerManager || !mLayerManager->GetRoot()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user