зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1375349 - Add calling ScheduleComposition() in CompositorBridgeParent::RecvAdoptChild() r=mattwoodrow
This commit is contained in:
Родитель
a7d3b243a3
Коммит
5120a89df4
|
@ -1647,6 +1647,9 @@ CompositorBridgeParent::RecvAdoptChild(const uint64_t& child)
|
|||
NotifyChildCreated(child);
|
||||
if (sIndirectLayerTrees[child].mLayerTree) {
|
||||
sIndirectLayerTrees[child].mLayerTree->SetLayerManager(mLayerManager);
|
||||
// Trigger composition to handle a case that mLayerTree was not composited yet
|
||||
// by previous CompositorBridgeParent, since nsRefreshDriver might wait composition complete.
|
||||
ScheduleComposition();
|
||||
}
|
||||
parent = sIndirectLayerTrees[child].mApzcTreeManagerParent;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче