Index: third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
index e91b6744e21b01b7d9fde5abab14d158326bc22a..99734bd5547b0238af4bcdb2e3335dc97b336e15 100644 |
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
@@ -157,7 +157,7 @@ void RangeInputType::handleMouseDownEvent(MouseEvent* event) |
return; |
Node* targetNode = event->target()->toNode(); |
- if (event->button() != LeftButton || !targetNode) |
+ if (event->button() != static_cast<short>(WebPointerProperties::Button::Left) || !targetNode) |
return; |
DCHECK(element().shadow()); |
if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot())) |