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 ae40db9150
commit bb906a2a6a

View File

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