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..3b4cd23ca6dd0a1a88f240c825b693cc42dad006 100644 |
--- a/chrome/service/cloud_print/print_system_win.cc |
+++ b/chrome/service/cloud_print/print_system_win.cc |
@@ -444,8 +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))) { |
+ pdf_path, printing::PdfRenderSettings( |
+ render_area, gfx::Point(0, 0), render_dpi, |
+ false /* autorotate */, |
+ printing::PdfRenderSettings::Mode::NORMAL))) { |
// The object will self-destruct when the child process dies. |
ignore_result(utility_host.release()); |
} else { |