| Index: chrome/service/cloud_print/print_system_win.cc
|
| ===================================================================
|
| --- chrome/service/cloud_print/print_system_win.cc (revision 104038)
|
| +++ chrome/service/cloud_print/print_system_win.cc (working copy)
|
| @@ -548,9 +548,15 @@
|
| BelongsToCurrentThread());
|
| scoped_ptr<ServiceUtilityProcessHost> utility_host(
|
| new ServiceUtilityProcessHost(this, client_message_loop_proxy));
|
| + // TODO(gene): For now we disabling autorotation for CloudPrinting.
|
| + // Landscape/Portrait setting is passed in the print ticket and
|
| + // server is generating portrait PDF always.
|
| + // We should enable autorotation once server will be able to generate
|
| + // PDF that matches paper size and orientation.
|
| if (utility_host->StartRenderPDFPagesToMetafile(pdf_path,
|
| render_area,
|
| render_dpi,
|
| + false,
|
| page_ranges)) {
|
| // The object will self-destruct when the child process dies.
|
| utility_host.release();
|
|
|