| Index: chrome/browser/content_settings/content_settings_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/content_settings/content_settings_browsertest.cc (revision 148111)
|
| +++ chrome/browser/content_settings/content_settings_browsertest.cc (working copy)
|
| @@ -140,7 +140,7 @@
|
| content::TitleWatcher title_watcher2(
|
| chrome::GetActiveWebContents(browser()), expected_title2);
|
|
|
| - ASSERT_TRUE(ui_test_utils::ExecuteJavaScript(
|
| + ASSERT_TRUE(content::ExecuteJavaScript(
|
| chrome::GetActiveWebContents(browser())->GetRenderViewHost(),
|
| L"", L"window.inject()"));
|
|
|
| @@ -156,7 +156,7 @@
|
| ui_test_utils::NavigateToURL(browser(), url);
|
|
|
| // Inject the callback function into the HTML page generated by the browser.
|
| - ASSERT_TRUE(ui_test_utils::ExecuteJavaScript(
|
| + ASSERT_TRUE(content::ExecuteJavaScript(
|
| chrome::GetActiveWebContents(browser())->GetRenderViewHost(),
|
| L"", L"CallOnStartup = function() { document.title = \"OK\"; }"));
|
|
|
|
|