| 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 beb334dad4de58d9cd1c9bb7aabcaf4771d632a1..d43d93f115105801e6c8b988eaa0a326769a545e 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp
|
| @@ -197,7 +197,7 @@ void ScrollbarTheme::paintScrollCorner(GraphicsContext& context, const DisplayIt
|
|
|
| bool ScrollbarTheme::shouldCenterOnThumb(const ScrollbarThemeClient& scrollbar, const PlatformMouseEvent& evt)
|
| {
|
| - return Platform::current()->scrollbarBehavior()->shouldCenterOnThumb(static_cast<WebScrollbarBehavior::Button>(evt.button()), evt.shiftKey(), evt.altKey());
|
| + return Platform::current()->scrollbarBehavior()->shouldCenterOnThumb(evt.pointerProperties().button, evt.shiftKey(), evt.altKey());
|
| }
|
|
|
| bool ScrollbarTheme::shouldSnapBackToDragOrigin(const ScrollbarThemeClient& scrollbar, const PlatformMouseEvent& evt)
|
|
|