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

Unified Diff: media/audio/audio_input_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_device_thread.cc ('k') | media/audio/audio_output_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_input_controller_unittest.cc
diff --git a/media/audio/audio_input_controller_unittest.cc b/media/audio/audio_input_controller_unittest.cc
index 0a2a39b41d8f09bb8a91ba11fb104eb74390dea6..53a3a8b45ec893926640e8dca70e4424d1f214cb 100644
--- a/media/audio/audio_input_controller_unittest.cc
+++ b/media/audio/audio_input_controller_unittest.cc
@@ -90,7 +90,7 @@ TEST_F(AudioInputControllerTest, CreateAndClose) {
message_loop_.Run();
// Close the AudioInputController synchronously.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
// Test a normal call sequence of create, record and close.
@@ -128,7 +128,7 @@ TEST_F(AudioInputControllerTest, RecordAndClose) {
message_loop_.Run();
// Close the AudioInputController synchronously.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
// Test that the AudioInputController reports an error when the input stream
@@ -179,7 +179,7 @@ TEST_F(AudioInputControllerTest, RecordAndError) {
message_loop_.Run();
// Close the AudioInputController synchronously.
- CloseAudioController(controller);
+ CloseAudioController(controller.get());
}
// Test that AudioInputController rejects insanely large packet sizes.
« no previous file with comments | « media/audio/audio_device_thread.cc ('k') | media/audio/audio_output_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698