| 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 6aff7c610c006c734577d591c79bb6f54cd7c39a..a2b2b141e1331f8ae9c81ec5a74d53b60c04a99b 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) {
|
| return true;
|
|
|
| if (event.button == blink::WebMouseEvent::Button::Left &&
|
| - event.type == blink::WebInputEvent::MouseDown) {
|
| + event.type() == blink::WebInputEvent::MouseDown) {
|
| if (last_cursor_x_ < 0 || last_cursor_x_ >= frame_.width() ||
|
| last_cursor_y_ < 0 || last_cursor_y_ >= frame_.height()) {
|
| return true;
|
|
|