summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/browser_proxy.cc')
-rw-r--r--chrome/test/automation/browser_proxy.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index ce47335..58543e1 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -247,13 +247,9 @@ bool BrowserProxy::SimulateDragWithTimeout(const POINT& start,
if (!is_valid())
return false;
- std::vector<POINT> drag_path;
- drag_path.push_back(start);
- drag_path.push_back(end);
-
IPC::Message* response = NULL;
bool succeeded = sender_->SendAndWaitForResponseWithTimeout(
- new AutomationMsg_WindowDragRequest(0, handle_, drag_path, flags,
+ new AutomationMsg_WindowDragRequest(0, handle_, start, end, flags,
press_escape_en_route),
&response, AutomationMsg_WindowDragResponse::ID, timeout_ms, is_timeout);