| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 689fef48b70592d9dd0f52209ad43a5dcc7d2068..9fe2f9b660a8bcbaa6f16613a77a54698919368a 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -2198,7 +2198,8 @@ void TestingAutomationProvider::SendJSONRequest(int handle,
|
| scoped_ptr<Value> values;
|
| base::JSONReader reader;
|
| std::string error;
|
| - values.reset(reader.ReadAndReturnError(json_request, true, NULL, &error));
|
| + values.reset(reader.ReadAndReturnError(json_request,
|
| + base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error));
|
| if (!error.empty()) {
|
| AutomationJSONReply(this, reply_message).SendError(error);
|
| return;
|
|
|