| 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 dddc7b639b5c44ba404c6cb11d634b56bdd9bbf5..4a5646171cab769ab759a97b3fbde18b579a5841 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -1810,7 +1810,9 @@ void RenderWidgetHostViewAura::CopyFromCompositingSurfaceHasResult(
|
| }
|
|
|
| if (result->HasTexture()) {
|
| - PrepareTextureCopyOutputResult(dst_size_in_pixel, callback, result.Pass());
|
| + PrepareTextureCopyOutputResult(dst_size_in_pixel, false,
|
| + callback,
|
| + result.Pass());
|
| return;
|
| }
|
|
|
| @@ -1832,6 +1834,7 @@ static void CopyFromCompositingSurfaceFinished(
|
| // 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(
|
| @@ -1872,6 +1875,7 @@ void RenderWidgetHostViewAura::PrepareTextureCopyOutputResult(
|
| result->size(),
|
| gfx::Rect(result->size()),
|
| dst_size_in_pixel,
|
| + readback_config_rgb565,
|
| pixels,
|
| base::Bind(&CopyFromCompositingSurfaceFinished,
|
| callback,
|
|
|