Index: extensions/common/features/json_feature_provider_source.cc |
diff --git a/extensions/common/features/json_feature_provider_source.cc b/extensions/common/features/json_feature_provider_source.cc |
index 5b9ee168378f0ee4b719455f8337425c42e39591..5f9dcb54f9f2f4120417f47d074bba4276fa772b 100644 |
--- a/extensions/common/features/json_feature_provider_source.cc |
+++ b/extensions/common/features/json_feature_provider_source.cc |
@@ -30,7 +30,7 @@ void JSONFeatureProviderSource::LoadJSON(int resource_id) { |
scoped_ptr<base::DictionaryValue> value_as_dict; |
if (value) { |
CHECK(value->IsType(base::Value::TYPE_DICTIONARY)) << name_; |
- value_as_dict.reset(static_cast<base::DictionaryValue*>(value.release())); |
+ value_as_dict = base::DictionaryValue::From(value.Pass()); |
} else { |
// There was some error loading the features file. |
// http://crbug.com/176381 |