From a00bc1240904754e5361cc6a22f1f98e1d34ed1a Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Mon, 8 Jun 2015 14:16:26 -0400 Subject: [PATCH] Bug 1169947 - Set the state back to NOTHING after the OnPanEnd is received. r=botond --- gfx/layers/apz/src/AsyncPanZoomController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/layers/apz/src/AsyncPanZoomController.cpp b/gfx/layers/apz/src/AsyncPanZoomController.cpp index 3688eddbf17..c1a658c4f67 100644 --- a/gfx/layers/apz/src/AsyncPanZoomController.cpp +++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp @@ -1695,6 +1695,7 @@ nsEventStatus AsyncPanZoomController::OnPanEnd(const PanGestureInput& aEvent) { mX.EndTouch(aEvent.mTime); mY.EndTouch(aEvent.mTime); + SetState(NOTHING); RequestContentRepaint(); return nsEventStatus_eConsumeNoDefault;