Index: Source/platform/scroll/Scrollbar.cpp |
diff --git a/Source/platform/scroll/Scrollbar.cpp b/Source/platform/scroll/Scrollbar.cpp |
index 9f4e8fa4212c051526bc796b5effcb567709f658..f8cadfa83a67f1b8dd9ce18cb454b176239a153f 100644 |
--- a/Source/platform/scroll/Scrollbar.cpp |
+++ b/Source/platform/scroll/Scrollbar.cpp |
@@ -226,7 +226,7 @@ void Scrollbar::autoscrollPressedPart(double delay) |
} |
// Handle the arrows and track. |
- if (m_scrollableArea && m_scrollableArea->scroll(pressedPartScrollDirection(), pressedPartScrollGranularity())) |
+ if (m_scrollableArea && m_scrollableArea->scroll(pressedPartScrollDirection(), pressedPartScrollGranularity()).didScroll) |
startTimerIfNeeded(delay); |
} |
@@ -377,7 +377,7 @@ bool Scrollbar::gestureEvent(const PlatformGestureEvent& evt) |
return false; |
case PlatformEvent::GestureTap: { |
if (m_pressedPart != ThumbPart && m_pressedPart != NoPart && m_scrollableArea |
- && m_scrollableArea->scroll(pressedPartScrollDirection(), pressedPartScrollGranularity())) { |
+ && m_scrollableArea->scroll(pressedPartScrollDirection(), pressedPartScrollGranularity()).didScroll) { |
return true; |
} |
m_scrollPos = 0; |