Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_view_win.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc |
| index baa909c72bd88347946a0963904c4ab45b4dbe1c..1c12a6f6c65c93b41fb981919ae78d0a5573d2b8 100644 |
| --- a/content/browser/renderer_host/render_widget_host_view_win.cc |
| +++ b/content/browser/renderer_host/render_widget_host_view_win.cc |
| @@ -860,7 +860,8 @@ BackingStore* RenderWidgetHostViewWin::AllocBackingStore( |
| void RenderWidgetHostViewWin::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.
|
| base::ScopedClosureRunner scoped_callback_runner( |
| base::Bind(callback, false, SkBitmap())); |
| if (!accelerated_surface_) |