Bug 723117 - Fix failure code in CreateCompositor. r=ajuma

This commit is contained in:
Benoit Girard 2012-02-01 10:57:24 -05:00
parent 6c47155183
commit 398d5ca954

View File

@ -845,6 +845,7 @@ void nsBaseWidget::CreateCompositor()
if (!lf) {
delete lm;
mCompositorChild = nsnull;
return;
}
lf->SetShadowManager(shadowManager);
lf->SetParentBackendType(LayerManager::LAYERS_OPENGL);