diff --git a/gfx/layers/apz/src/APZCTreeManager.cpp b/gfx/layers/apz/src/APZCTreeManager.cpp index 33ddec28bcd9..ad20adfb6d32 100644 --- a/gfx/layers/apz/src/APZCTreeManager.cpp +++ b/gfx/layers/apz/src/APZCTreeManager.cpp @@ -1254,10 +1254,9 @@ APZCTreeManager::DispatchFling(AsyncPanZoomController* aPrev, transformedVelocity = endPoint - startPoint; - bool handoff = (startIndex < 1) ? aHandoff : true; if (current->AttemptFling(transformedVelocity, aOverscrollHandoffChain, - handoff)) { + aHandoff)) { return true; } }