summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r--printing/printing_context_win.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 3a1da66..e7c0f56 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -383,11 +383,6 @@ PrintingContext::Result PrintingContextWin::UpdatePrinterSettings(
return OK;
}
- // Underlying |settings_| do not have these attributes, so we need to
- // operate on printer directly, which involves reloading settings.
- // Therefore, reset the settings anyway.
- ResetSettings();
-
HANDLE printer;
LPWSTR device_name_wide = const_cast<wchar_t*>(device_name.c_str());
if (!OpenPrinter(device_name_wide, &printer, NULL))