| Index: chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
|
| diff --git a/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc b/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
|
| index fb73c92faf8fbfbf097beb6bf8929f78893b1760..973729449df8e2fbb53f7564632a0c5a773bbfa4 100644
|
| --- a/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
|
| +++ b/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
|
| @@ -1210,10 +1210,9 @@ void DragAndDropBrowserTest::CrossSiteDrag_Step2(
|
| // the test before the event has had a chance to be reported back to the
|
| // browser.
|
| std::string expected_response = base::StringPrintf("\"i%d\"", i);
|
| - right_frame()->ExecuteJavaScriptWithUserGestureForTests(base::UTF8ToUTF16(
|
| - base::StringPrintf("domAutomationController.setAutomationId(0);\n"
|
| - "domAutomationController.send(%s);\n",
|
| - expected_response.c_str())));
|
| + right_frame()->ExecuteJavaScriptWithUserGestureForTests(
|
| + base::UTF8ToUTF16(base::StringPrintf(
|
| + "domAutomationController.send(%s);\n", expected_response.c_str())));
|
|
|
| // Wait until our response comes back (it might be mixed with responses
|
| // carrying events that are sent by event_monitoring.js).
|
|
|