Index: chrome/browser/content_settings/content_settings_policy_provider.cc |
diff --git a/chrome/browser/content_settings/content_settings_policy_provider.cc b/chrome/browser/content_settings/content_settings_policy_provider.cc |
index 85a0631274e4d78ac813dc244399480ead56af23..f71bb4ca19f829fcd97a48019b6e801996caa294 100644 |
--- a/chrome/browser/content_settings/content_settings_policy_provider.cc |
+++ b/chrome/browser/content_settings/content_settings_policy_provider.cc |
@@ -303,8 +303,8 @@ void PolicyProvider::GetAutoSelectCertificateSettingsFromPreferences( |
continue; |
} |
- scoped_ptr<base::Value> value( |
- base::JSONReader::Read(pattern_filter_json, true)); |
+ scoped_ptr<base::Value> value(base::JSONReader::Read(pattern_filter_json, |
+ base::JSON_ALLOW_TRAILING_COMMAS)); |
if (!value.get()) { |
VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:" |
" Invalid JSON format: " << pattern_filter_json; |