diff options
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r-- | printing/printing_context_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index d410f31..b1b8ba9 100644 --- a/printing/printing_context_win.cc +++ b/printing/printing_context_win.cc @@ -12,7 +12,6 @@ #include "base/time.h" #include "base/utf_string_conversions.h" #include "base/values.h" -#include "printing/print_job_constants.h" #include "printing/print_settings_initializer_win.h" #include "printing/printed_document.h" #include "skia/ext/platform_device_win.h" @@ -215,8 +214,9 @@ PrintingContext::Result PrintingContextWin::UpdatePrintSettings( DCHECK(!in_print_job_); bool landscape; - if (!job_settings.GetBoolean(kSettingLandscape, &landscape)) + if (!GetSettingsFromDict(job_settings, &landscape, NULL)) return OnError(); + settings_.SetOrientation(landscape); // TODO(kmadhusu): Update other print settings such as number of copies, |