Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index a098b727022b9845d30d6aeb9f0bc9c0d2fac9b4..eb37e33a061d1157dc81cc17d431b2491895aabd 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -2036,14 +2036,14 @@ WebInputEventResult EventHandler::handleGestureShowPress() |
if (!view) |
return WebInputEventResult::NotHandled; |
if (ScrollAnimatorBase* scrollAnimator = view->existingScrollAnimator()) |
- scrollAnimator->cancelAnimations(); |
+ scrollAnimator->cancelAnimation(); |
const FrameView::ScrollableAreaSet* areas = view->scrollableAreas(); |
if (!areas) |
return WebInputEventResult::NotHandled; |
for (const ScrollableArea* scrollableArea : *areas) { |
ScrollAnimatorBase* animator = scrollableArea->existingScrollAnimator(); |
if (animator) |
- animator->cancelAnimations(); |
+ animator->cancelAnimation(); |
} |
return WebInputEventResult::NotHandled; |
} |