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

Unified Diff: media/audio/audio_output_controller_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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 | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/linux/alsa_output.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_controller_unittest.cc
diff --git a/media/audio/audio_output_controller_unittest.cc b/media/audio/audio_output_controller_unittest.cc
index fe29ce59af3f969a10191e1b5742cbe64acfd389..d37d1a26b53a9140d43c8a346294391b27c78b0e 100644
--- a/media/audio/audio_output_controller_unittest.cc
+++ b/media/audio/audio_output_controller_unittest.cc
@@ -108,7 +108,7 @@ TEST_F(AudioOutputControllerTest, CreateAndClose) {
ASSERT_TRUE(controller.get());
// Close the controller immediately.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
TEST_F(AudioOutputControllerTest, PlayPauseClose) {
@@ -155,7 +155,7 @@ TEST_F(AudioOutputControllerTest, PlayPauseClose) {
pause_event.Wait();
// Now stop the controller.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
TEST_F(AudioOutputControllerTest, HardwareBufferTooLarge) {
@@ -225,7 +225,7 @@ TEST_F(AudioOutputControllerTest, PlayPausePlayClose) {
play_event.Wait();
// Now stop the controller.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
// Ensure state change events are handled.
@@ -280,7 +280,7 @@ TEST_F(AudioOutputControllerTest, PlayStateChangeClose) {
play_event.Wait();
// Now stop the controller.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
} // namespace media
« no previous file with comments | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/linux/alsa_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698