зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1035833 - Fix layersId allocation in nested content process. r=mattwoodrow
This commit is contained in:
Родитель
a0610ba42d
Коммит
e0aa297bbf
|
@ -738,7 +738,8 @@ RenderFrameParent::RenderFrameParent(nsFrameLoader* aFrameLoader,
|
|||
}
|
||||
}
|
||||
|
||||
if (gfxPlatform::UsesOffMainThreadCompositing()) {
|
||||
if (gfxPlatform::UsesOffMainThreadCompositing() &&
|
||||
XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
// Our remote frame will push layers updates to the compositor,
|
||||
// and we'll keep an indirect reference to that tree.
|
||||
*aId = mLayersId = CompositorParent::AllocateLayerTreeId();
|
||||
|
|
Загрузка…
Ссылка в новой задаче