mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 1336510 - Part 3: Capture a strong reference to this in CompositorBridgeParent::FlushApzRepaints, r=kats
MozReview-Commit-ID: KdGBYEAC0dW
This commit is contained in:
parent
0f1b29df7e
commit
f225a42d33
@ -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);
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user