Index: chrome/browser/extensions/extension_tabs_module.cc |
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc |
index dbf198bc71c1fd73545ff35ba40c7c0bf1c79986..67d5916f1db0c0e8a5edee0ddb0488ca905258a4 100644 |
--- a/chrome/browser/extensions/extension_tabs_module.cc |
+++ b/chrome/browser/extensions/extension_tabs_module.cc |
@@ -1653,7 +1653,7 @@ bool CaptureVisibleTabFunction::RunImpl() { |
// For example, some uncommon X11 visual modes are not supported by |
// CopyFromBackingStore(). |
skia::PlatformCanvas temp_canvas; |
- if (render_view_host->CopyFromBackingStore(&temp_canvas)) { |
+ if (render_view_host->CopyFromBackingStore(gfx::Size(), &temp_canvas)) { |
VLOG(1) << "captureVisibleTab() got image from backing store."; |
SendResultFromBitmap(skia::GetTopDevice(temp_canvas)->accessBitmap(false)); |
return true; |