Index: content/browser/devtools/protocol/page_handler.cc |
diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc |
index d0e8496562e1cca914147626f48a9324b70f73ec..d1d8da6b1cd4e3ae47b0d84e861860793d4e8418 100644 |
--- a/content/browser/devtools/protocol/page_handler.cc |
+++ b/content/browser/devtools/protocol/page_handler.cc |
@@ -483,9 +483,9 @@ void PageHandler::ScreencastFrameCaptured( |
const std::string& format, |
int quality, |
const cc::CompositorFrameMetadata& metadata, |
- bool success, |
- const SkBitmap& bitmap) { |
- if (!success) { |
+ const SkBitmap& bitmap, |
+ ReadbackResponse response) { |
+ if (response != READBACK_SUCCESS) { |
if (capture_retry_count_) { |
--capture_retry_count_; |
base::MessageLoop::current()->PostDelayedTask( |