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

Unified Diff: media/audio/android/audio_record_input.h

Issue 1911913002: Convert //media/audio from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast + windows build 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/audio/android/audio_record_input.h
diff --git a/media/audio/android/audio_record_input.h b/media/audio/android/audio_record_input.h
index 055b3fd1ed45dc7b51b9abfb8dd16362d77d6fc1..c915094bf1efa9ca170437223c07a6abb73f451f 100644
--- a/media/audio/android/audio_record_input.h
+++ b/media/audio/android/audio_record_input.h
@@ -75,7 +75,7 @@ class MEDIA_EXPORT AudioRecordInputStream : public AudioInputStream {
// Owned by j_audio_record_.
uint8_t* direct_buffer_address_;
- scoped_ptr<media::AudioBus> audio_bus_;
+ std::unique_ptr<media::AudioBus> audio_bus_;
danakj 2016/04/22 22:47:35 include memory
dcheng 2016/04/22 23:13:19 Done.
int bytes_per_sample_;
DISALLOW_COPY_AND_ASSIGN(AudioRecordInputStream);

Powered by Google App Engine
This is Rietveld 408576698