Index: remoting/client/plugin/chromoting_instance.cc |
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
index c2f458553fe132af5d9250ce314111e46d4ffcc6..96536238d648779aa4cac61954b4b732ed9d03b8 100644 |
--- a/remoting/client/plugin/chromoting_instance.cc |
+++ b/remoting/client/plugin/chromoting_instance.cc |
@@ -216,7 +216,8 @@ void ChromotingInstance::HandleMessage(const pp::Var& message) { |
} |
scoped_ptr<base::Value> json( |
- base::JSONReader::Read(message.AsString(), true)); |
+ base::JSONReader::Read(message.AsString(), |
+ base::JSON_ALLOW_TRAILING_COMMAS)); |
base::DictionaryValue* message_dict = NULL; |
std::string method; |
base::DictionaryValue* data = NULL; |