Index: content/browser/devtools/protocol/color_picker.cc |
diff --git a/content/browser/devtools/protocol/color_picker.cc b/content/browser/devtools/protocol/color_picker.cc |
index 3016caf9b34d62a4bbefe86b75dda5d6e5f238c4..21f5c3d235432ccba8fb282bdaa47e83a5eda704 100644 |
--- a/content/browser/devtools/protocol/color_picker.cc |
+++ b/content/browser/devtools/protocol/color_picker.cc |
@@ -115,7 +115,7 @@ bool ColorPicker::HandleMouseEvent(const blink::WebMouseEvent& event) { |
if (frame_.drawsNothing()) |
return true; |
- if (event.button == blink::WebMouseEvent::ButtonLeft && |
+ if (event.button == blink::WebMouseEvent::Button::Left && |
event.type == blink::WebInputEvent::MouseDown) { |
if (last_cursor_x_ < 0 || last_cursor_x_ >= frame_.width() || |
last_cursor_y_ < 0 || last_cursor_y_ >= frame_.height()) { |