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

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: . 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
« no previous file with comments | « media/audio/android/audio_android_unittest.cc ('k') | media/audio/android/opensles_input.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4c0baceaaee074906c0c4ad987cdf9cc2589c304..cd2e10e66e8d0df02bce642a023eb2b9ee9b2d34 100644
--- a/media/audio/android/audio_record_input.h
+++ b/media/audio/android/audio_record_input.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/android/jni_android.h"
#include "base/macros.h"
#include "base/threading/thread_checker.h"
@@ -75,7 +77,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_;
int bytes_per_sample_;
DISALLOW_COPY_AND_ASSIGN(AudioRecordInputStream);
« no previous file with comments | « media/audio/android/audio_android_unittest.cc ('k') | media/audio/android/opensles_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698