| 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 38b255017638b94d4942ee8a6b5c7819d4f22b20..113ef21a840307cb39af71801bdeadcc0f429e8d 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -670,7 +670,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,
|
| + CopyFromCompositingSurfaceCallback& callback,
|
| const SkColorType color_type) {
|
| if (view_) {
|
| TRACE_EVENT0("browser",
|
| @@ -682,7 +682,7 @@ void RenderWidgetHostImpl::CopyFromBackingStore(
|
| return;
|
| }
|
|
|
| - callback.Run(false, SkBitmap());
|
| + callback.Run(false, SkBitmap(), content::READBACK_FAILED);
|
| }
|
|
|
| bool RenderWidgetHostImpl::CanCopyFromBackingStore() {
|
|
|