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

Unified Diff: chromecast/browser/cast_media_blocker_unittest.cc

Issue 2535343003: [Chromecast] Simplify CastMediaBlocker. (Closed)
Patch Set: Created 4 years, 1 month 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 | « chromecast/browser/cast_media_blocker_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_media_blocker_unittest.cc
diff --git a/chromecast/browser/cast_media_blocker_unittest.cc b/chromecast/browser/cast_media_blocker_unittest.cc
index 8bd152e70c03e00684446cba67f3cea0c98cb17d..25d8a3227b472f46ff2c687b9ab399f59d0fa114 100644
--- a/chromecast/browser/cast_media_blocker_unittest.cc
+++ b/chromecast/browser/cast_media_blocker_unittest.cc
@@ -54,8 +54,7 @@ class CastMediaBlockerTest : public content::RenderViewHostTestHarness {
content::RenderViewHostTestHarness::SetUp();
media_session_ = base::MakeUnique<MockMediaSession>(
content::MediaSession::Get(web_contents()));
- media_blocker_ = base::MakeUnique<CastMediaBlocker>(media_session_.get(),
- web_contents());
+ media_blocker_ = base::MakeUnique<CastMediaBlocker>(media_session_.get());
content::WebContentsTester::For(web_contents())
->NavigateAndCommit(GURL("https://www.youtube.com"));
« no previous file with comments | « chromecast/browser/cast_media_blocker_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698