Index: Source/platform/scroll/ScrollableArea.cpp |
diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp |
index af06540c5bcd3a037411713aa75eaa5027163db2..93255a2f630780614c4264c3067d4fa14e230df6 100644 |
--- a/Source/platform/scroll/ScrollableArea.cpp |
+++ b/Source/platform/scroll/ScrollableArea.cpp |
@@ -208,7 +208,12 @@ bool ScrollableArea::scrollBehaviorFromString(const String& behaviorString, Scro |
bool ScrollableArea::handleWheelEvent(const PlatformWheelEvent& wheelEvent) |
{ |
- return scrollAnimator()->handleWheelEvent(wheelEvent); |
+ return handleWheelEvent(wheelEvent, true, true); |
+} |
+ |
+bool ScrollableArea::handleWheelEvent(const PlatformWheelEvent& wheelEvent, bool canRubberbandLeft, bool canRubberbandRight) |
+{ |
+ return scrollAnimator()->handleWheelEvent(wheelEvent, canRubberbandLeft, canRubberbandRight); |
} |
// NOTE: Only called from Internals for testing. |