diff options
Diffstat (limited to 'chromium/printing/print_settings_initializer_win.cc')
-rw-r--r-- | chromium/printing/print_settings_initializer_win.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/printing/print_settings_initializer_win.cc b/chromium/printing/print_settings_initializer_win.cc index fd243fe6109..88b4eb0be14 100644 --- a/chromium/printing/print_settings_initializer_win.cc +++ b/chromium/printing/print_settings_initializer_win.cc @@ -6,6 +6,7 @@ #include <windows.h> +#include "printing/backend/win_helper.h" #include "printing/print_settings.h" namespace printing { @@ -142,6 +143,8 @@ void PrintSettingsInitializerWin::InitPrintSettings( printable_area_device_units, false); + print_settings->set_color(IsDevModeWithColor(&dev_mode) ? COLOR : GRAY); + // Check for postscript first so that we can change the mode with the // first command. int level; |