Bug 897839. Add some null checks for the compositor map. r=mattwoodrow

This commit is contained in:
Nicholas Cameron
2013-07-31 09:45:42 +12:00
parent c9dd8ae0b1
commit 40a1357579
2 changed files with 6 additions and 1 deletions

View File

@@ -630,6 +630,9 @@ bool
AsyncCompositionManager::TransformShadowTree(TimeStamp aCurrentFrame)
{
Layer* root = mLayerManager->GetRoot();
if (!root) {
return false;
}
// NB: we must sample animations *before* sampling pan/zoom
// transforms.