| 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 2c5082245acfa0d9e8519aa39221ee589736184d..40baeeb07c8448ab3af006fe57b275ac6d5ae3d5 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
|
|
|