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

Unified Diff: media/base/audio_block_fifo.cc

Issue 1138163002: Passing scoped_ptr into ScopedVector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/audio_input_device.cc ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_block_fifo.cc
diff --git a/media/base/audio_block_fifo.cc b/media/base/audio_block_fifo.cc
index 000d13100ca325969521b21ab286a65703fd4cf5..d7ae063ae42f2ca4151d6bd76622b1722a74989a 100644
--- a/media/base/audio_block_fifo.cc
+++ b/media/base/audio_block_fifo.cc
@@ -94,7 +94,7 @@ void AudioBlockFifo::IncreaseCapacity(int blocks) {
const int original_size = audio_blocks_.size();
for (int i = 0; i < blocks; ++i) {
audio_blocks_.push_back(
- AudioBus::Create(channels_, block_frames_).release());
+ AudioBus::Create(channels_, block_frames_).Pass());
xhwang 2015/05/12 16:13:06 .Pass() not needed?
anujsharma 2015/05/13 03:01:07 Ok, I will remove it in next patchset.
}
if (!original_size)
« no previous file with comments | « media/audio/audio_input_device.cc ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698