Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_view_gtk.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_view_gtk.cc b/content/browser/renderer_host/render_widget_host_view_gtk.cc |
| index e08e8d83d4d17709f242a850570215e25970dd09..25db57ba71d435aafa2d2caa68e2f2f61defcc37 100644 |
| --- a/content/browser/renderer_host/render_widget_host_view_gtk.cc |
| +++ b/content/browser/renderer_host/render_widget_host_view_gtk.cc |
| @@ -1047,7 +1047,8 @@ BackingStore* RenderWidgetHostViewGtk::AllocBackingStore( |
| void RenderWidgetHostViewGtk::CopyFromCompositingSurface( |
| const gfx::Rect& src_subrect, |
| const gfx::Size& /* dst_size */, |
| - const base::Callback<void(bool, const SkBitmap&)>& callback) { |
| + const base::Callback<void(bool, const SkBitmap&)>& callback, |
| + bool readback_config_rgb565) { |
|
piman
2014/01/09 18:12:15
Fail if readback_config_rgb565 is true?
sivag
2014/01/10 12:20:01
Done.
|
| // Grab the snapshot from the renderer as that's the only reliable way to |
| // readback from the GPU for this platform right now. |
| GetRenderWidgetHost()->GetSnapshotFromRenderer(src_subrect, callback); |