Backed out changeset 663cde4dd044 (bug 1287004) for crashes [@ XGetWindowAttributes]

CLOSED TREE
This commit is contained in:
Phil Ringnalda
2016-09-13 21:06:19 -07:00
parent daa8205684
commit 29989ac5ff
2 changed files with 1 additions and 9 deletions

View File

@@ -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);
}