Index: chrome/renderer/print_web_view_helper_linux.cc |
=================================================================== |
--- chrome/renderer/print_web_view_helper_linux.cc (revision 81157) |
+++ chrome/renderer/print_web_view_helper_linux.cc (working copy) |
@@ -153,6 +153,8 @@ |
PrintMsg_Print_Params printParams = params.params; |
scoped_ptr<skia::VectorCanvas> canvas; |
+ UpdatePrintableSizeInPrintParameters(frame, node, &printParams); |
+ |
{ |
// Hack - when |prep_frame_view| goes out of scope, PrintEnd() gets called. |
// Doing this before closing |metafile| below ensures |