Index: content/browser/renderer_host/render_widget_host_view_android.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc |
index 48070031aa230d87a4f199e77145ee5cc5b1aee1..af53727f9ad92906c7aa9d76bcb876e4a0012e51 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -389,7 +389,7 @@ void RenderWidgetHostViewAndroid::GetScaledContentBitmap( |
float scale, |
SkColorType color_type, |
gfx::Rect src_subrect, |
- const base::Callback<void(bool, const SkBitmap&)>& result_callback) { |
+ CopyFromCompositingSurfaceCallback& result_callback) { |
if (!host_ || host_->is_hidden()) { |
result_callback.Run(false, SkBitmap()); |
return; |
@@ -851,7 +851,7 @@ void RenderWidgetHostViewAndroid::SetBackgroundOpaque(bool opaque) { |
void RenderWidgetHostViewAndroid::CopyFromCompositingSurface( |
const gfx::Rect& src_subrect, |
const gfx::Size& dst_size, |
- const base::Callback<void(bool, const SkBitmap&)>& callback, |
+ CopyFromCompositingSurfaceCallback& callback, |
const SkColorType color_type) { |
TRACE_EVENT0("cc", "RenderWidgetHostViewAndroid::CopyFromCompositingSurface"); |
if ((!host_ || host_->is_hidden()) || |