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

Unified Diff: printing/printed_document_win.cc

Issue 8585017: PrintPreview: Honor the print media page size and margin values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added one more test Created 8 years, 11 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 | « printing/printed_document.cc ('k') | printing/printed_page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document_win.cc
diff --git a/printing/printed_document_win.cc b/printing/printed_document_win.cc
index 2d1a117fb9268685eeaa32e1bc8d39a26ba577ae..392679384c52875081e6e29bfd50768cc8994c70 100644
--- a/printing/printed_document_win.cc
+++ b/printing/printed_document_win.cc
@@ -67,7 +67,7 @@ void PrintedDocument::RenderPrintedPage(
context,
content_area.x() - page_setup.printable_area().x(),
content_area.y() - page_setup.printable_area().y(),
- mutable_.shrink_factor);
+ page.shrink_factor());
if (!page.metafile()->SafePlayback(context)) {
NOTREACHED();
« no previous file with comments | « printing/printed_document.cc ('k') | printing/printed_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698