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

Unified Diff: printing/print_settings.cc

Issue 2602053003: Reset all members in PrintSettings::Clear. (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | 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 4c1b3107389cd5bd4cae2a0c3c035ac24f4d5513..00e1ccef113d6b0eba314831c75e07cbf3f60be4 100644
--- a/printing/print_settings.cc
+++ b/printing/print_settings.cc
@@ -148,6 +148,7 @@ void PrintSettings::Clear() {
page_setup_device_units_.Clear();
dpi_ = 0;
scale_factor_ = 1.0f;
+ rasterize_pdf_ = false;
landscape_ = false;
supports_alpha_blend_ = true;
#if defined(OS_WIN)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698