| 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 dec4f3103b335a3f355d60032d2abb678c00fed2..44f72106ece7308313ccbfe7b583c9b270f6961f 100644
|
| --- a/content/browser/devtools/protocol/color_picker.cc
|
| +++ b/content/browser/devtools/protocol/color_picker.cc
|
| @@ -95,11 +95,12 @@ void ColorPicker::ResetFrame() {
|
| last_cursor_y_ = -1;
|
| }
|
|
|
| -void ColorPicker::FrameUpdated(bool succeeded, const SkBitmap& bitmap) {
|
| +void ColorPicker::FrameUpdated(const SkBitmap& bitmap,
|
| + ReadbackResponse response) {
|
| if (!enabled_)
|
| return;
|
|
|
| - if (succeeded) {
|
| + if (response == READBACK_SUCCESS) {
|
| frame_ = bitmap;
|
| UpdateCursor();
|
| }
|
|
|