| Index: components/ntp_snippets/features.cc
|
| diff --git a/components/ntp_snippets/features.cc b/components/ntp_snippets/features.cc
|
| index e6fbd13a0284c31d24bf200239715bf6b70d2325..fe007b58d22f8c9249b2ccd4e9cb80ef69f7c975 100644
|
| --- a/components/ntp_snippets/features.cc
|
| +++ b/components/ntp_snippets/features.cc
|
| @@ -67,10 +67,12 @@ bool GetParamAsBool(const base::Feature& feature,
|
| bool default_value) {
|
| std::string value_as_string =
|
| variations::GetVariationParamValueByFeature(feature, param_name);
|
| - if (value_as_string == "true")
|
| + if (value_as_string == "true") {
|
| return true;
|
| - if (value_as_string == "false")
|
| + }
|
| + if (value_as_string == "false") {
|
| return false;
|
| + }
|
|
|
| if (!value_as_string.empty()) {
|
| LOG(WARNING) << "Failed to parse variation param " << param_name
|
|
|