Index: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
index ba40ba127b1bf9313fe7ab24b1d649b9fe5045ca..bf8c0459b928958e840e38807573a6dc315950ad 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
@@ -572,7 +572,7 @@ MediaControlTimelineElement* MediaControlTimelineElement::create(MediaControls& |
void MediaControlTimelineElement::defaultEventHandler(Event* event) |
{ |
- if (event->isMouseEvent() && toMouseEvent(event)->button() != LeftButton) |
+ if (event->isMouseEvent() && toMouseEvent(event)->button() != static_cast<short>(WebPointerProperties::Button::Left)) |
return; |
if (!isConnected() || !document().isActive()) |
@@ -652,7 +652,7 @@ MediaControlVolumeSliderElement* MediaControlVolumeSliderElement::create(MediaCo |
void MediaControlVolumeSliderElement::defaultEventHandler(Event* event) |
{ |
- if (event->isMouseEvent() && toMouseEvent(event)->button() != LeftButton) |
+ if (event->isMouseEvent() && toMouseEvent(event)->button() != static_cast<short>(WebPointerProperties::Button::Left)) |
return; |
if (!isConnected() || !document().isActive()) |