Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index e6b867e22d676b0c094dd0036223a55faea62084..e06ed4faf2f51c4c2bcec7583c9547a0770c254f 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -1057,8 +1057,7 @@ |
void RenderWidgetHostViewAura::CopyFromCompositingSurface( |
const gfx::Rect& src_subrect, |
const gfx::Size& dst_size, |
- const base::Callback<void(bool, const SkBitmap&)>& callback, |
- bool readback_config_rgb565) { |
+ const base::Callback<void(bool, const SkBitmap&)>& callback) { |
if (!CanCopyToBitmap()) { |
callback.Run(false, SkBitmap()); |
return; |
@@ -1069,7 +1068,6 @@ |
cc::CopyOutputRequest::CreateRequest(base::Bind( |
&RenderWidgetHostViewAura::CopyFromCompositingSurfaceHasResult, |
dst_size_in_pixel, |
- readback_config_rgb565, |
callback)); |
gfx::Rect src_subrect_in_pixel = |
ConvertRectToPixel(current_device_scale_factor_, src_subrect); |
@@ -1802,7 +1800,6 @@ |
// static |
void RenderWidgetHostViewAura::CopyFromCompositingSurfaceHasResult( |
const gfx::Size& dst_size_in_pixel, |
- bool readback_config_rgb565, |
const base::Callback<void(bool, const SkBitmap&)>& callback, |
scoped_ptr<cc::CopyOutputResult> result) { |
if (result->IsEmpty() || result->size().IsEmpty()) { |
@@ -1811,9 +1808,7 @@ |
} |
if (result->HasTexture()) { |
- PrepareTextureCopyOutputResult(dst_size_in_pixel, readback_config_rgb565, |
- callback, |
- result.Pass()); |
+ PrepareTextureCopyOutputResult(dst_size_in_pixel, callback, result.Pass()); |
return; |
} |
@@ -1835,7 +1830,6 @@ |
// static |
void RenderWidgetHostViewAura::PrepareTextureCopyOutputResult( |
const gfx::Size& dst_size_in_pixel, |
- bool readback_config_rgb565, |
const base::Callback<void(bool, const SkBitmap&)>& callback, |
scoped_ptr<cc::CopyOutputResult> result) { |
base::ScopedClosureRunner scoped_callback_runner( |
@@ -1877,7 +1871,6 @@ |
gfx::Rect(result->size()), |
dst_size_in_pixel, |
pixels, |
- readback_config_rgb565, |
base::Bind(&CopyFromCompositingSurfaceFinished, |
callback, |
base::Passed(&release_callback), |