зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1336510 - Part 3: Capture a strong reference to this in CompositorBridgeParent::FlushApzRepaints, r=kats
MozReview-Commit-ID: KdGBYEAC0dW
This commit is contained in:
Родитель
d7f61f52a4
Коммит
806d90211c
|
@ -1316,8 +1316,9 @@ CompositorBridgeParent::FlushApzRepaints(const LayerTransactionParent* aLayerTre
|
|||
// use the compositor's root layer tree id.
|
||||
layersId = mRootLayerTreeID;
|
||||
}
|
||||
RefPtr<CompositorBridgeParent> self = this;
|
||||
APZThreadUtils::RunOnControllerThread(NS_NewRunnableFunction([=] () {
|
||||
mApzcTreeManager->FlushApzRepaints(layersId);
|
||||
self->mApzcTreeManager->FlushApzRepaints(layersId);
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче