Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index b3010ce4c8a6ba0c95bf9042a085ea3818b86d15..605f2551f7e15eb40952e4bd5cabc40b4b41be46 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -726,8 +726,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(ScrollPhysicalLeft, ScrollByPrecisePixel, delta.width()); |
+ bool scrolledVertical = view.scroll(ScrollPhysicalUp, ScrollByPrecisePixel, delta.height()); |
return scrolledHorizontal || scrolledVertical; |
} |