diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 22:30:10 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 22:30:10 +0000 |
commit | 15c2bb32e4b2a436e404695ee7b5ea564cc9c60b (patch) | |
tree | 3b5208034639c45ba114eb2d8b7c729ee38eeeef /printing/printed_document_mac.cc | |
parent | 6e74a3bcc45e25f4a249649953b5120324facf16 (diff) | |
download | chromium_src-15c2bb32e4b2a436e404695ee7b5ea564cc9c60b.zip chromium_src-15c2bb32e4b2a436e404695ee7b5ea564cc9c60b.tar.gz chromium_src-15c2bb32e4b2a436e404695ee7b5ea564cc9c60b.tar.bz2 |
Refactor mac printing workflow.
To support print preview, made code changes to create a single metafile for the entire printing document.
BUG=64121
TEST=printing works after code changes.
Review URL: http://codereview.chromium.org/5892002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_document_mac.cc')
-rw-r--r-- | printing/printed_document_mac.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printed_document_mac.cc b/printing/printed_document_mac.cc index d429109..3c5a401 100644 --- a/printing/printed_document_mac.cc +++ b/printing/printed_document_mac.cc @@ -34,7 +34,7 @@ void PrintedDocument::RenderPrintedPage( // Each NativeMetafile is a one-page PDF, and pages use 1-based indexing. const int page_number = 1; metafile->RenderPage(page_number, context, content_area.ToCGRect(), - true, false, false, false); + false, false, false, false); // TODO(stuartmorgan): Print the header and footer. } |