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

Unified Diff: media/audio/alsa/alsa_output_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/alsa/alsa_output_unittest.cc
diff --git a/media/audio/alsa/alsa_output_unittest.cc b/media/audio/alsa/alsa_output_unittest.cc
index bb6073827d5a6a42936f0876b8ff2886213b478c..a972a7f025e3e898f36e9cb3e58e6e7b2f3d9f91 100644
--- a/media/audio/alsa/alsa_output_unittest.cc
+++ b/media/audio/alsa/alsa_output_unittest.cc
@@ -178,8 +178,7 @@ class AlsaPcmOutputStreamTest : public testing::Test {
base::TestMessageLoop message_loop_;
StrictMock<MockAlsaWrapper> mock_alsa_wrapper_;
- std::unique_ptr<StrictMock<MockAudioManagerAlsa>, AudioManagerDeleter>
- mock_manager_;
+ std::unique_ptr<StrictMock<MockAudioManagerAlsa>> mock_manager_;
scoped_refptr<DataBuffer> packet_;
private:

Powered by Google App Engine
This is Rietveld 408576698