Index: content/browser/in_process_webkit/indexed_db_browsertest.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_browsertest.cc b/content/browser/in_process_webkit/indexed_db_browsertest.cc |
index e8f3222b70d3d598660870187cbc0207b9e5cf58..c7ce5e7b137f5e47962d3c055a4f7adf418a48aa 100644 |
--- a/content/browser/in_process_webkit/indexed_db_browsertest.cc |
+++ b/content/browser/in_process_webkit/indexed_db_browsertest.cc |
@@ -49,9 +49,8 @@ class IndexedDBBrowserTest : public ContentBrowserTest { |
std::string result = the_browser->web_contents()->GetURL().ref(); |
if (result != "pass") { |
std::string js_result; |
- ASSERT_TRUE(ExecuteJavaScriptAndExtractString( |
- the_browser->web_contents()->GetRenderViewHost(), |
- std::string(), |
+ ASSERT_TRUE(ExecuteScriptAndExtractString( |
+ the_browser->web_contents(), |
"window.domAutomationController.send(getLog())", |
&js_result)); |
FAIL() << "Failed: " << js_result; |