| Index: content/public/test/browser_test_utils.cc
|
| diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
|
| index 29252b3d393ee969040c70dfc776e1d3a9a75c1a..a7d8c78fcadb3b098013243de2cc26fdec622bd2 100644
|
| --- a/content/public/test/browser_test_utils.cc
|
| +++ b/content/public/test/browser_test_utils.cc
|
| @@ -96,8 +96,8 @@ bool ExecuteScriptHelper(RenderViewHost* render_view_host,
|
| std::string script =
|
| "window.domAutomationController.setAutomationId(0);" + original_script;
|
| DOMOperationObserver dom_op_observer(render_view_host);
|
| - render_view_host->ExecuteJavascriptInWebFrame(UTF8ToUTF16(frame_xpath),
|
| - UTF8ToUTF16(script));
|
| + render_view_host->ExecuteJavascriptInWebFrame(base::UTF8ToUTF16(frame_xpath),
|
| + base::UTF8ToUTF16(script));
|
| std::string json;
|
| if (!dom_op_observer.WaitAndGetResponse(&json)) {
|
| DLOG(ERROR) << "Cannot communicate with DOMOperationObserver.";
|
|
|