Backed out changeset 663cde4dd044 (bug 1287004) for crashes [@ XGetWindowAttributes]
CLOSED TREE
This commit is contained in:
@@ -569,14 +569,6 @@ PuppetWidget::GetLayerManager(PLayerTransactionChild* aShadowManager,
|
||||
LayersBackend aBackendHint,
|
||||
LayerManagerPersistence aPersistence)
|
||||
{
|
||||
if (XRE_IsParentProcess()) {
|
||||
// A PuppetWidget in the parent process is for a windowless browser. Let's
|
||||
// try to pretend this is a normal top-level window.
|
||||
return nsBaseWidget::GetLayerManager(aShadowManager,
|
||||
aBackendHint,
|
||||
aPersistence);
|
||||
}
|
||||
|
||||
if (!mLayerManager) {
|
||||
mLayerManager = new ClientLayerManager(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user