| Index: chrome/test/automation/browser_proxy.cc
|
| diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
|
| index 66a4b0af102e96107b366c4f7a858b9e0ad38dfb..4c2dae9e121eeb3d9764e2c8d73a92e145578e06 100644
|
| --- a/chrome/test/automation/browser_proxy.cc
|
| +++ b/chrome/test/automation/browser_proxy.cc
|
| @@ -605,9 +605,8 @@ bool BrowserProxy::GetInitialLoadTimes(int timeout_ms,
|
| return false;
|
| }
|
| std::string error;
|
| - base::JSONReader reader;
|
| - scoped_ptr<Value> values(reader.ReadAndReturnError(json_response, true,
|
| - NULL, &error));
|
| + scoped_ptr<Value> values(base::JSONReader::ReadAndReturnError(
|
| + json_response, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error));
|
| if (!error.empty() || values->GetType() != Value::TYPE_DICTIONARY)
|
| return false;
|
|
|
|
|