diff options
Diffstat (limited to 'remoting/host/elevated_controller_win.cc')
-rw-r--r-- | remoting/host/elevated_controller_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/elevated_controller_win.cc b/remoting/host/elevated_controller_win.cc index 1c13ffa..1a8bec6 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)) { |