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

Unified Diff: chrome/service/cloud_print/print_system_win.cc

Issue 2633573002: Add Postscript Printing (Closed)
Patch Set: Merge Created 3 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 | « chrome/common/chrome_utility_printing_messages.h ('k') | chrome/utility/printing_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/print_system_win.cc
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index 2641365c7cc2fd91efad2e4128ae7ffc0817556a..d0b731bd410382665cbdad26d0936cb62c1e55d3 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -444,10 +444,10 @@ class JobSpoolerWin : public PrintSystem::JobSpooler {
// We should enable autorotation once server will be able to generate
// PDF that matches paper size and orientation.
if (utility_host->StartRenderPDFPagesToMetafile(
- pdf_path,
- printing::PdfRenderSettings(
- render_area, render_dpi, false,
- printing::PdfRenderSettings::Mode::NORMAL))) {
+ pdf_path, printing::PdfRenderSettings(
+ render_area, gfx::Point(0,0), render_dpi,
+ /*autorotate=*/false,
+ printing::PdfRenderSettings::Mode::NORMAL))) {
// The object will self-destruct when the child process dies.
ignore_result(utility_host.release());
} else {
« no previous file with comments | « chrome/common/chrome_utility_printing_messages.h ('k') | chrome/utility/printing_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698