Index: third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp |
index 8d9d3f157686106527291c1d3c1f15c6a4c3c210..f03ce0f2f0ad90dccbd7ac4b20adf4b31a5609f6 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp |
@@ -206,7 +206,7 @@ void SliderThumbElement::defaultEventHandler(Event* event) |
} |
MouseEvent* mouseEvent = toMouseEvent(event); |
- bool isLeftButton = mouseEvent->button() == LeftButton; |
+ bool isLeftButton = mouseEvent->button() == static_cast<short>(WebPointerProperties::Button::Left); |
const AtomicString& eventType = event->type(); |
// We intentionally do not call event->setDefaultHandled() here because |