Index: remoting/host/elevated_controller_win.cc |
diff --git a/remoting/host/elevated_controller_win.cc b/remoting/host/elevated_controller_win.cc |
index 1c13ffab4c56329b7fa320a313fd7a9762b2ee2b..1a8bec6145d4310ee041f44e2224913fd2d3071a 100644 |
--- a/remoting/host/elevated_controller_win.cc |
+++ b/remoting/host/elevated_controller_win.cc |
@@ -74,7 +74,8 @@ HRESULT ReadConfig(const FilePath& filename, |
// Parse the JSON configuration, expecting it to contain a dictionary. |
std::string file_content(buffer.get(), size); |
- scoped_ptr<base::Value> value(base::JSONReader::Read(file_content, true)); |
+ scoped_ptr<base::Value> value( |
+ base::JSONReader::Read(file_content, base::JSON_ALLOW_TRAILING_COMMAS)); |
base::DictionaryValue* dictionary; |
if (value.get() == NULL || !value->GetAsDictionary(&dictionary)) { |