summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tabs_module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module.cc')
-rw-r--r--chrome/browser/extensions/extension_tabs_module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
index dbf198b..67d5916 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;