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

Unified Diff: content/child/site_isolation_stats_gatherer_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/child/site_isolation_stats_gatherer_browsertest.cc
diff --git a/content/child/site_isolation_stats_gatherer_browsertest.cc b/content/child/site_isolation_stats_gatherer_browsertest.cc
index d37c97ad568bc5fb40b48b94d21e6eb5eec41974..852ddabe0454d9294114a97f7658e068699aa16d 100644
--- a/content/child/site_isolation_stats_gatherer_browsertest.cc
+++ b/content/child/site_isolation_stats_gatherer_browsertest.cc
@@ -150,8 +150,8 @@ IN_PROC_BROWSER_TEST_F(SiteIsolationStatsGathererBrowserTest,
bool was_blocked;
ASSERT_TRUE(ExecuteScriptAndExtractBool(
- shell()->web_contents(),
- base::StringPrintf("sendRequest(\"%s\");", resource), &was_blocked));
+ shell(), base::StringPrintf("sendRequest(\"%s\");", resource),
+ &was_blocked));
ASSERT_FALSE(was_blocked);
InspectHistograms(histograms, true, resource);
@@ -174,8 +174,8 @@ IN_PROC_BROWSER_TEST_F(SiteIsolationStatsGathererBrowserTest,
bool was_blocked;
ASSERT_TRUE(ExecuteScriptAndExtractBool(
- shell()->web_contents(),
- base::StringPrintf("sendRequest(\"%s\");", resource), &was_blocked));
+ shell(), base::StringPrintf("sendRequest(\"%s\");", resource),
+ &was_blocked));
ASSERT_FALSE(was_blocked);
InspectHistograms(histograms, false, resource);

Powered by Google App Engine
This is Rietveld 408576698