Index: media/audio/audio_input_device.cc |
diff --git a/media/audio/audio_input_device.cc b/media/audio/audio_input_device.cc |
index 39cb7a0f94c8d5a055793ddc1f55e50847d43bc9..6cf0fec7389ef1b417caf35677538d9f3df80318 100644 |
--- a/media/audio/audio_input_device.cc |
+++ b/media/audio/audio_input_device.cc |
@@ -290,7 +290,7 @@ void AudioInputDevice::AudioThreadCallback::MapSharedMemory() { |
reinterpret_cast<media::AudioInputBuffer*>(ptr); |
scoped_ptr<media::AudioBus> audio_bus = |
media::AudioBus::WrapMemory(audio_parameters_, buffer->audio); |
- audio_buses_.push_back(audio_bus.release()); |
+ audio_buses_.push_back(audio_bus.Pass()); |
ptr += segment_length_; |
} |
} |