Index: chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc |
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc |
index af317e0eaabcd41c2887b5edcff7e46731b9c1fb..dda57e2d832096392f511e7facd3623f7fb5c46d 100644 |
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc |
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc |
@@ -248,7 +248,7 @@ void NetInternalsTest::MessageHandler::NavigateToPrerender( |
ASSERT_TRUE(list_value->GetString(0, &url)); |
content::RenderFrameHost* frame = |
browser()->tab_strip_model()->GetWebContentsAt(1)->GetMainFrame(); |
- frame->ExecuteJavaScript( |
+ frame->ExecuteJavaScriptForTests( |
base::ASCIIToUTF16(base::StringPrintf("Click('%s')", url.c_str()))); |
} |