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

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

Issue 2640033005: Substitute boolean GDI printing for a mode type (Closed)
Patch Set: Fix nits 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/service/service_utility_process_host.cc » ('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 7c16abfe206572f253e136a9bbdd75ee05e2d04a..2641365c7cc2fd91efad2e4128ae7ffc0817556a 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -445,7 +445,9 @@ class JobSpoolerWin : public PrintSystem::JobSpooler {
// PDF that matches paper size and orientation.
if (utility_host->StartRenderPDFPagesToMetafile(
pdf_path,
- printing::PdfRenderSettings(render_area, render_dpi, false))) {
+ printing::PdfRenderSettings(
+ render_area, render_dpi, 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/service/service_utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698