| 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 1d251a87cb7087c74bcdd1e836b8844c963ccd8b..ec97fa85a409da98eaab8bee6a5fa34782b2f8e5 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -1815,7 +1815,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;
|
| }
|
|
|
| @@ -1837,6 +1839,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(
|
| @@ -1877,6 +1880,7 @@ void RenderWidgetHostViewAura::PrepareTextureCopyOutputResult(
|
| result->size(),
|
| gfx::Rect(result->size()),
|
| dst_size_in_pixel,
|
| + readback_config_rgb565,
|
| pixels,
|
| base::Bind(&CopyFromCompositingSurfaceFinished,
|
| callback,
|
|
|