| 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 a888284deb42913e5327e45f940c5a2e4f8c6039..a528f57ce92a8435c8f6322e5f962f1029bee6d5 100644
|
| --- a/extensions/browser/api/capture_web_contents_function.cc
|
| +++ b/extensions/browser/api/capture_web_contents_function.cc
|
| @@ -91,9 +91,9 @@ bool CaptureWebContentsFunction::RunAsync() {
|
| }
|
|
|
| void CaptureWebContentsFunction::CopyFromBackingStoreComplete(
|
| - bool succeeded,
|
| - const SkBitmap& bitmap) {
|
| - if (succeeded) {
|
| + const SkBitmap& bitmap,
|
| + const content::ReadbackResponse& response) {
|
| + if (response == content::READBACK_SUCCESS) {
|
| OnCaptureSuccess(bitmap);
|
| return;
|
| }
|
|
|