Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
index 1d587142e41ce0973e4b0c0d66dc27f0128b39d7..c2744a7e4bde5d7ebff4619414c95b95648a7262 100644 |
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
@@ -457,7 +457,7 @@ void Scrollbar::mouseUp(const PlatformMouseEvent& mouseEvent) |
void Scrollbar::mouseDown(const PlatformMouseEvent& evt) |
{ |
// Early exit for right click |
- if (evt.button() == RightButton) |
+ if (evt.pointerProperties().button == WebPointerProperties::Button::Right) |
return; |
setPressedPart(theme().hitTest(*this, evt.position())); |