Index: chrome/browser/policy/configuration_policy_handler_chromeos.cc |
diff --git a/chrome/browser/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/policy/configuration_policy_handler_chromeos.cc |
index ff43551ea6fd37cf4e57e1a59874aacca7c86a7f..2ad265556af51388961617b4304726ec11a2cb06 100644 |
--- a/chrome/browser/policy/configuration_policy_handler_chromeos.cc |
+++ b/chrome/browser/policy/configuration_policy_handler_chromeos.cc |
@@ -74,7 +74,8 @@ Value* NetworkConfigurationPolicyHandler::SanitizeNetworkConfig( |
if (!config->GetAsString(&json_string)) |
return NULL; |
- scoped_ptr<Value> json_value(base::JSONReader::Read(json_string, true)); |
+ scoped_ptr<Value> json_value( |
+ base::JSONReader::Read(json_string, base::JSON_ALLOW_TRAILING_COMMAS)); |
if (!json_value.get() || !json_value->IsType(base::Value::TYPE_DICTIONARY)) |
return NULL; |