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

Unified Diff: media/audio/mac/audio_auhal_mac_unittest.cc

Issue 2784433002: Ensures that audio tasks cannot run after AudioManager is deleted. (Closed)
Patch Set: fixes content_browsertests and content_unittests Created 3 years, 9 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: media/audio/mac/audio_auhal_mac_unittest.cc
diff --git a/media/audio/mac/audio_auhal_mac_unittest.cc b/media/audio/mac/audio_auhal_mac_unittest.cc
index e6f3878675e5feacd4bcfbb1f971d2f3af49f5c7..232340e644aa16859f1ac84197f05bfd0fe837ec 100644
--- a/media/audio/mac/audio_auhal_mac_unittest.cc
+++ b/media/audio/mac/audio_auhal_mac_unittest.cc
@@ -59,7 +59,7 @@ class AUHALStreamTest : public testing::Test {
protected:
base::TestMessageLoop message_loop_;
- ScopedAudioManagerPtr manager_;
+ std::unique_ptr<AudioManager> manager_;
MockAudioSourceCallback source_;
std::string log_message_;

Powered by Google App Engine
This is Rietveld 408576698