| Index: chrome/test/automation/automation_json_requests.cc
|
| diff --git a/chrome/test/automation/automation_json_requests.cc b/chrome/test/automation/automation_json_requests.cc
|
| index bc2fbc8a9e088d43e23a2a85b47fac8bde2e18dd..11fc25a4f8d753d4e38d8cbd9e527645cead3537 100644
|
| --- a/chrome/test/automation/automation_json_requests.cc
|
| +++ b/chrome/test/automation/automation_json_requests.cc
|
| @@ -46,7 +46,8 @@ bool SendAutomationJSONRequest(AutomationMessageSender* sender,
|
| LOG(INFO) << error->message();
|
| return false;
|
| }
|
| - scoped_ptr<Value> value(base::JSONReader::Read(reply, true));
|
| + scoped_ptr<Value> value(
|
| + base::JSONReader::Read(reply, base::JSON_ALLOW_TRAILING_COMMAS));
|
| if (!value.get() || !value->IsType(Value::TYPE_DICTIONARY)) {
|
| *error = Error("JSON request did not return a dictionary");
|
| LOG(ERROR) << "JSON request did not return dict: " << command << "\n";
|
|
|