зеркало из https://github.com/mozilla/gecko-dev.git
Ensure added code only runs when using a Compositor, not in e10s.
This commit is contained in:
Родитель
5e62d4fd13
Коммит
d1b64f55b8
|
@ -287,7 +287,9 @@ ShadowLayersParent::RecvUpdate(const InfallibleTArray<Edit>& cset,
|
|||
MOZ_LAYERS_LOG(("[ParentSide] SetRoot"));
|
||||
|
||||
mRoot = AsShadowLayer(edit.get_OpSetRoot())->AsContainer();
|
||||
mLayerManager->SetRoot(mRoot);
|
||||
if (mHost->GetCompositorParent()) {
|
||||
mLayerManager->SetRoot(mRoot);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Edit::TOpInsertAfter: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче