Recreate RemoteContentControllers for tabs after the GPU process restarts. (bug 1302236, r=kats)

This commit is contained in:
David Anderson 2016-10-03 00:37:14 -07:00
parent a1dfbc1a44
commit 9b20680b31

View File

@ -3259,6 +3259,10 @@ TabChild::ReinitRendering()
lf->IdentifyTextureHost(mTextureFactoryIdentifier);
mApzcTreeManager = CompositorBridgeChild::Get()->GetAPZCTreeManager(mLayersId);
if (mApzcTreeManager) {
APZChild* apz = ContentProcessController::Create(mUniqueId);
CompositorBridgeChild::Get()->SendPAPZConstructor(apz, mLayersId);
}
}
void