mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats
This commit is contained in:
parent
8963c3dc7a
commit
68093fc158
@ -1134,6 +1134,7 @@ void AsyncPanZoomController::StartAnimation(AsyncPanZoomAnimation* aAnimation)
|
||||
}
|
||||
|
||||
void AsyncPanZoomController::CancelAnimation() {
|
||||
ReentrantMonitorAutoEnter lock(mMonitor);
|
||||
SetState(NOTHING);
|
||||
mAnimation = nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user