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

Unified Diff: chrome/renderer/printing/print_web_view_helper_linux.cc

Issue 12295002: Merge 182959 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 years, 10 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 | « chrome/renderer/printing/print_web_view_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/printing/print_web_view_helper_linux.cc
===================================================================
--- chrome/renderer/printing/print_web_view_helper_linux.cc (revision 183000)
+++ chrome/renderer/printing/print_web_view_helper_linux.cc (working copy)
@@ -92,6 +92,9 @@
PrintPageInternal(page_params, canvas_size, frame, &metafile);
}
+ // WebKit::printEnd() for PDF should be called before metafile is closed.
+ FinishFramePrinting();
+
metafile.FinishDocument();
// Get the size of the resulting metafile.
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698