Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Unified Diff: content/browser/devtools/protocol/color_picker.h

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted code and fixed build issue in test. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/protocol/color_picker.h
diff --git a/content/browser/devtools/protocol/color_picker.h b/content/browser/devtools/protocol/color_picker.h
index e59a35137fdacdb1552ca44b34147586882d2e03..3c6473ad2344955192d73e8f33306b15080324c6 100644
--- a/content/browser/devtools/protocol/color_picker.h
+++ b/content/browser/devtools/protocol/color_picker.h
@@ -34,7 +34,7 @@ class ColorPicker {
private:
void UpdateFrame();
void ResetFrame();
- void FrameUpdated(bool succeeded, const SkBitmap& bitmap);
+ void FrameUpdated(const SkBitmap&, ReadbackResponse);
bool HandleMouseEvent(const blink::WebMouseEvent& event);
void UpdateCursor();

Powered by Google App Engine
This is Rietveld 408576698