Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 9a1d709a2ef00f024c3194de5ec841498afcfc3b..1301cac24a42d7fd64a43528d19d260278bc5226 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -675,7 +675,7 @@ void RenderWidgetHostImpl::ViewDestroyed() { |
void RenderWidgetHostImpl::CopyFromBackingStore( |
const gfx::Rect& src_subrect, |
const gfx::Size& accelerated_dst_size, |
- const base::Callback<void(bool, const SkBitmap&)>& callback, |
+ ReadbackRequestCallback& callback, |
const SkColorType color_type) { |
if (view_) { |
TRACE_EVENT0("browser", |
@@ -687,7 +687,7 @@ void RenderWidgetHostImpl::CopyFromBackingStore( |
return; |
} |
- callback.Run(false, SkBitmap()); |
+ callback.Run(SkBitmap(), content::READBACK_FAILED); |
} |
bool RenderWidgetHostImpl::CanCopyFromBackingStore() { |