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 e53a50ba72d3c6edfb5c4fecd8f13379aca3d109..a44dca1040260058eed1b02014f29f69906b73bb 100644 |
--- a/content/browser/devtools/protocol/color_picker.cc |
+++ b/content/browser/devtools/protocol/color_picker.cc |
@@ -112,8 +112,8 @@ void ColorPicker::FrameUpdated(const SkBitmap& bitmap, |
} |
bool ColorPicker::HandleMouseEvent(const blink::WebMouseEvent& event) { |
- last_cursor_x_ = event.x; |
- last_cursor_y_ = event.y; |
+ last_cursor_x_ = event.positionInWidget().x; |
+ last_cursor_y_ = event.positionInWidget().y; |
if (frame_.drawsNothing()) |
return true; |