Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5776)

Unified Diff: chrome/renderer/print_web_view_helper_linux.cc

Issue 6825074: Adds method call to UpdatePrintableSizeInPrintParameters() to fix Content Area width on print on ... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698