Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 5d43cd67d6c98477c138acba1afbb567d6aeb4be..077bcb3cd2ec218b0675edf6257a54cef518847a 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -720,8 +720,8 @@ void LocalFrame::removeSpellingMarkersUnderWords(const Vector<String>& words) |
static bool scrollAreaOnBothAxes(const FloatSize& delta, ScrollableArea& view) |
{ |
- bool scrolledHorizontal = view.scroll(ScrollLeft, ScrollByPrecisePixel, delta.width()); |
- bool scrolledVertical = view.scroll(ScrollUp, ScrollByPrecisePixel, delta.height()); |
+ bool scrolledHorizontal = view.scroll(ScrollLeft, ScrollByPrecisePixel, delta.width()).didScroll; |
+ bool scrolledVertical = view.scroll(ScrollUp, ScrollByPrecisePixel, delta.height()).didScroll; |
return scrolledHorizontal || scrolledVertical; |
} |