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

Unified Diff: content/browser/dom_storage/dom_storage_browsertest.cc

Issue 2052633002: Extend the ToRenderFrameHost magic to FrameTreeNode* and Shell* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix induced script bug. Created 4 years, 6 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/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 f1d522352a2e4b54d2fe4a22ca9ce7f9a94fb540..326c91e94c37190375630ec8e1e2f9f9f2f039cc 100644
--- a/content/browser/dom_storage/dom_storage_browsertest.cc
+++ b/content/browser/dom_storage/dom_storage_browsertest.cc
@@ -30,8 +30,7 @@ class DOMStorageBrowserTest : public ContentBrowserTest {
if (result != "pass") {
std::string js_result;
ASSERT_TRUE(ExecuteScriptAndExtractString(
- the_browser->web_contents(),
- "window.domAutomationController.send(getLog())",
+ the_browser, "window.domAutomationController.send(getLog())",
&js_result));
FAIL() << "Failed: " << js_result;
}

Powered by Google App Engine
This is Rietveld 408576698