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

Unified Diff: extensions/browser/api/capture_web_contents_function.cc

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary headers. Created 6 years, 3 months 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: extensions/browser/api/capture_web_contents_function.cc
diff --git a/extensions/browser/api/capture_web_contents_function.cc b/extensions/browser/api/capture_web_contents_function.cc
index 5d168d919cca50cbf4cf13694f4e84f526316b63..18888bddb3a6c41e55bd9c1026dd3f2e27368195 100644
--- a/extensions/browser/api/capture_web_contents_function.cc
+++ b/extensions/browser/api/capture_web_contents_function.cc
@@ -76,7 +76,8 @@ bool CaptureWebContentsFunction::RunAsync() {
void CaptureWebContentsFunction::CopyFromBackingStoreComplete(
bool succeeded,
- const SkBitmap& bitmap) {
+ const SkBitmap& bitmap,
+ const int& response) {
if (succeeded) {
OnCaptureSuccess(bitmap);
return;
« content/common/readback_types.h ('K') | « extensions/browser/api/capture_web_contents_function.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698