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

Unified Diff: content/browser/media/media_canplaytype_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/media/media_canplaytype_browsertest.cc
diff --git a/content/browser/media/media_canplaytype_browsertest.cc b/content/browser/media/media_canplaytype_browsertest.cc
index cce3e47c9d6e368e14cec9d4984565f310ae01a2..19979194933999755b437a9a146a6df1ca2f2329 100644
--- a/content/browser/media/media_canplaytype_browsertest.cc
+++ b/content/browser/media/media_canplaytype_browsertest.cc
@@ -103,8 +103,7 @@ class MediaCanPlayTypeTest : public MediaBrowserTest {
std::string result;
EXPECT_TRUE(ExecuteScriptAndExtractString(
- shell()->web_contents(),
- "window.domAutomationController.send(" + command + ");",
+ shell(), "window.domAutomationController.send(" + command + ");",
&result));
return result;
}

Powered by Google App Engine
This is Rietveld 408576698