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

Unified Diff: media/audio/virtual_audio_input_stream_unittest.cc

Issue 16297002: Update media/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/virtual_audio_input_stream.cc ('k') | media/audio/virtual_audio_output_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/virtual_audio_input_stream_unittest.cc
diff --git a/media/audio/virtual_audio_input_stream_unittest.cc b/media/audio/virtual_audio_input_stream_unittest.cc
index 0c886723031d9270371b3f40a94b7efd51cf4f8f..144ce8216f13decc1177303dc3af4b17fb569773 100644
--- a/media/audio/virtual_audio_input_stream_unittest.cc
+++ b/media/audio/virtual_audio_input_stream_unittest.cc
@@ -132,10 +132,11 @@ class VirtualAudioInputStreamTest : public testing::Test {
void CreateAndStartOneOutputStream() {
ASSERT_TRUE(!!stream_);
- AudioOutputStream* const output_stream =
- new VirtualAudioOutputStream(
- kParams, audio_message_loop_, stream_,
- base::Bind(&base::DeletePointer<VirtualAudioOutputStream>));
+ AudioOutputStream* const output_stream = new VirtualAudioOutputStream(
+ kParams,
+ audio_message_loop_.get(),
+ stream_,
+ base::Bind(&base::DeletePointer<VirtualAudioOutputStream>));
output_streams_.push_back(output_stream);
output_stream->Open();
« no previous file with comments | « media/audio/virtual_audio_input_stream.cc ('k') | media/audio/virtual_audio_output_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698