Index: components/content_settings/core/browser/content_settings_policy_provider.cc |
diff --git a/components/content_settings/core/browser/content_settings_policy_provider.cc b/components/content_settings/core/browser/content_settings_policy_provider.cc |
index a0528bd02bb6d9d1e26eb26d5fe83c2f5470b2b1..6d313a9e16bd9d56b3995ebe2a242e9e206a6175 100644 |
--- a/components/content_settings/core/browser/content_settings_policy_provider.cc |
+++ b/components/content_settings/core/browser/content_settings_policy_provider.cc |
@@ -271,8 +271,8 @@ void PolicyProvider::GetAutoSelectCertificateSettingsFromPreferences( |
continue; |
} |
- scoped_ptr<base::Value> value(base::JSONReader::DeprecatedRead( |
- pattern_filter_json, base::JSON_ALLOW_TRAILING_COMMAS)); |
+ scoped_ptr<base::Value> value = base::JSONReader::Read( |
+ pattern_filter_json, base::JSON_ALLOW_TRAILING_COMMAS); |
if (!value || !value->IsType(base::Value::TYPE_DICTIONARY)) { |
VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:" |
" Invalid JSON object: " << pattern_filter_json; |