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

Unified Diff: base/feature_list.h

Issue 2138923002: Updating FeatureList default initialization pattern (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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 | « no previous file | base/feature_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/feature_list.h
diff --git a/base/feature_list.h b/base/feature_list.h
index 2a47427fb268e6d63cba9005fb31727ed326aa2f..e9ed00a124ad8f701d05391ede500e0c5f84138b 100644
--- a/base/feature_list.h
+++ b/base/feature_list.h
@@ -247,10 +247,10 @@ class BASE_EXPORT FeatureList {
// Whether this object has been fully initialized. This gets set to true as a
// result of FinalizeInitialization().
- bool initialized_;
+ bool initialized_ = false;
// Whether this object has been initialized from command line.
- bool initialized_from_command_line_;
+ bool initialized_from_command_line_ = false;
DISALLOW_COPY_AND_ASSIGN(FeatureList);
};
« no previous file with comments | « no previous file | base/feature_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698