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

Unified Diff: content/browser/media/audio_stream_monitor_unittest.cc

Issue 1215713021: Reverted the code for the non-interactive audible tab notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notification
Patch Set: Fixed indent Created 5 years, 4 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/media/audio_stream_monitor.cc ('k') | content/browser/media/media_web_contents_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/audio_stream_monitor_unittest.cc
diff --git a/content/browser/media/audio_stream_monitor_unittest.cc b/content/browser/media/audio_stream_monitor_unittest.cc
index 786775dec67e3450cb69fde607124959411b5e6a..f3189af9ed03d31ee9e9d248e5eb58b0b9bef741 100644
--- a/content/browser/media/audio_stream_monitor_unittest.cc
+++ b/content/browser/media/audio_stream_monitor_unittest.cc
@@ -53,12 +53,7 @@ class AudioStreamMonitorTest : public RenderViewHostTestHarness {
RenderViewHostTestHarness::web_contents());
web_contents->SetDelegate(&mock_web_contents_delegate_);
- AudioStateProvider* provider = web_contents->audio_state_provider();
- ASSERT_TRUE(provider);
-
- monitor_ = provider->audio_stream_monitor();
- ASSERT_TRUE(monitor_);
-
+ monitor_ = web_contents->audio_stream_monitor();
const_cast<base::TickClock*&>(monitor_->clock_) = &clock_;
}
« no previous file with comments | « content/browser/media/audio_stream_monitor.cc ('k') | content/browser/media/media_web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698