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

Unified Diff: content/browser/dom_storage/dom_storage_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
« no previous file with comments | « content/browser/database_browsertest.cc ('k') | content/browser/encrypted_media_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/dom_storage_browsertest.cc
diff --git a/content/browser/dom_storage/dom_storage_browsertest.cc b/content/browser/dom_storage/dom_storage_browsertest.cc
index 84405f2b136dd425f13f219223332bc0df7ce4c8..3591c67886965bb206c9c99b674900edeee6ce5f 100644
--- a/content/browser/dom_storage/dom_storage_browsertest.cc
+++ b/content/browser/dom_storage/dom_storage_browsertest.cc
@@ -28,9 +28,8 @@ class DomStorageBrowserTest : 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/database_browsertest.cc ('k') | content/browser/encrypted_media_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698