Index: base/feature_list.h |
diff --git a/base/feature_list.h b/base/feature_list.h |
index daedd73874198be91fffdcebe72784813c561c8a..09e8408aa843a9526b5b07be41726b4a08a05d08 100644 |
--- a/base/feature_list.h |
+++ b/base/feature_list.h |
@@ -32,6 +32,8 @@ enum FeatureState { |
// for a given feature name - generally defined as a constant global variable or |
// file static. |
struct BASE_EXPORT Feature { |
+ constexpr Feature(const char* name, FeatureState default_state) |
+ : name(name), default_state(default_state) {} |
// The name of the feature. This should be unique to each feature and is used |
// for enabling/disabling features via command line flags and experiments. |
const char* const name; |