Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: printing/print_settings.cc

Issue 2114583002: Windows: Make it possible to print text with GDI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again, resolve conflicts Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/print_settings.h ('k') | printing/print_settings_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings.cc
diff --git a/printing/print_settings.cc b/printing/print_settings.cc
index 98dc0a8daf0b4fdbd9f2cb60e77c5929ea7baaf1..b680e71eb1ff3523168ebb6bf4ff99a504195c5c 100644
--- a/printing/print_settings.cc
+++ b/printing/print_settings.cc
@@ -149,6 +149,9 @@ void PrintSettings::Clear() {
color_ = UNKNOWN_COLOR_MODEL;
copies_ = 0;
duplex_mode_ = UNKNOWN_DUPLEX_MODE;
+#if defined(OS_WIN)
+ print_text_with_gdi_ = false;
+#endif
}
void PrintSettings::SetPrinterPrintableArea(
« no previous file with comments | « printing/print_settings.h ('k') | printing/print_settings_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698