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

Unified Diff: media/base/audio_buffer_converter.cc

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: . Created 4 years, 8 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
Index: media/base/audio_buffer_converter.cc
diff --git a/media/base/audio_buffer_converter.cc b/media/base/audio_buffer_converter.cc
index 5fd92df15a4974e059c9b5cd2a56a47fccc542ce..d8ea29ee6529c6767bc1b268dc51e2da3d55d913 100644
--- a/media/base/audio_buffer_converter.cc
+++ b/media/base/audio_buffer_converter.cc
@@ -193,7 +193,7 @@ void AudioBufferConverter::ConvertIfPossible() {
output_params_.channels(),
output_params_.sample_rate(),
request_frames);
- scoped_ptr<AudioBus> output_bus =
+ std::unique_ptr<AudioBus> output_bus =
AudioBus::CreateWrapper(output_buffer->channel_count());
int frames_remaining = request_frames;

Powered by Google App Engine
This is Rietveld 408576698