Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: content/browser/fileapi/file_system_browsertest.cc

Issue 11753009: Simplify ExecuteJavaScript* functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update prerender_browsertest.cc. Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « content/browser/encrypted_media_browsertest.cc ('k') | content/browser/in_process_webkit/indexed_db_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698