Index: remoting/host/json_host_config.cc |
diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc |
index 66e518c202622706aebb888455641b44c5f67042..6c5c2e8b804650b9f467eaff778b6c10caeaef37 100644 |
--- a/remoting/host/json_host_config.cc |
+++ b/remoting/host/json_host_config.cc |
@@ -30,7 +30,8 @@ bool JsonHostConfig::Read() { |
return false; |
} |
- scoped_ptr<Value> value(base::JSONReader::Read(file_content, true)); |
+ scoped_ptr<Value> value( |
+ base::JSONReader::Read(file_content, base::JSON_ALLOW_TRAILING_COMMAS)); |
if (value.get() == NULL || !value->IsType(Value::TYPE_DICTIONARY)) { |
LOG(WARNING) << "Failed to parse " << filename_.value(); |
return false; |