| Index: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
|
| index aad4568c60ffca70a2c55681c72fabf18b4743b2..8198f38043bf397e4bae86275640ba1534bdafc6 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
|
| @@ -160,7 +160,7 @@ ScrollbarPart ScrollbarTheme::HitTest(const ScrollbarThemeClient& scrollbar,
|
| return result;
|
|
|
| IntPoint test_position =
|
| - scrollbar.ConvertFromRootFrame(position_in_root_frame);
|
| + scrollbar.ConvertPointFromRootFrame(position_in_root_frame);
|
| test_position.Move(scrollbar.X(), scrollbar.Y());
|
|
|
| if (!scrollbar.FrameRect().Contains(test_position))
|
| @@ -275,7 +275,7 @@ void ScrollbarTheme::PaintTickmarks(GraphicsContext& context,
|
| bool ScrollbarTheme::ShouldSnapBackToDragOrigin(
|
| const ScrollbarThemeClient& scrollbar,
|
| const WebMouseEvent& evt) {
|
| - IntPoint mouse_position = scrollbar.ConvertFromRootFrame(
|
| + IntPoint mouse_position = scrollbar.ConvertPointFromRootFrame(
|
| FlooredIntPoint(evt.PositionInRootFrame()));
|
| mouse_position.Move(scrollbar.X(), scrollbar.Y());
|
| return Platform::Current()->ScrollbarBehavior()->ShouldSnapBackToDragOrigin(
|
|
|