Chromium Code Reviews| Index: chrome/test/automation/browser_proxy.cc |
| diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc |
| index a0e18bc816825db7a5842ac9885e07fd5078055f..867de74306a9893a52ead4f106b8e8e3a69c0c60 100644 |
| --- a/chrome/test/automation/browser_proxy.cc |
| +++ b/chrome/test/automation/browser_proxy.cc |
| @@ -428,11 +428,12 @@ bool BrowserProxy::SendJSONRequest(const std::string& request, |
| return false; |
| bool result = false; |
| - if (!sender_->Send(new AutomationMsg_SendJSONRequest(handle_, |
| - request, |
| - response, |
| - &result), |
| - timeout_ms)) |
| + if (!sender_->Send( |
| + new AutomationMsg_SendJSONRequestWithBrowserHandle(handle_, |
| + request, |
| + response, |
| + &result), |
| + timeout_ms)) |
| return false; |
| return result; |
| } |