Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats

This commit is contained in:
Anthony Jones 2013-12-20 09:58:24 +13:00
parent 8963c3dc7a
commit 68093fc158

View File

@ -1134,6 +1134,7 @@ void AsyncPanZoomController::StartAnimation(AsyncPanZoomAnimation* aAnimation)
}
void AsyncPanZoomController::CancelAnimation() {
ReentrantMonitorAutoEnter lock(mMonitor);
SetState(NOTHING);
mAnimation = nullptr;
}