Index: content/browser/fileapi/file_system_browsertest.cc |
diff --git a/content/browser/fileapi/file_system_browsertest.cc b/content/browser/fileapi/file_system_browsertest.cc |
index e01f08b533a6c2fdac1ddfa4f6ae873ff448a158..29bdbd36bf7f490716824e4998ca81818c020125 100644 |
--- a/content/browser/fileapi/file_system_browsertest.cc |
+++ b/content/browser/fileapi/file_system_browsertest.cc |
@@ -41,9 +41,8 @@ class FileSystemBrowserTest : 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; |