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

Unified Diff: media/base/android/audio_media_codec_decoder.h

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: android 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/base/android/audio_decoder_job.h ('k') | media/base/android/media_codec_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/audio_media_codec_decoder.h
diff --git a/media/base/android/audio_media_codec_decoder.h b/media/base/android/audio_media_codec_decoder.h
index ce264b60ee6c9fe674f6482a2d8765a0acd36794..dc81399246b565da7797c9f937da5ffe74a3d061 100644
--- a/media/base/android/audio_media_codec_decoder.h
+++ b/media/base/android/audio_media_codec_decoder.h
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include "base/macros.h"
#include "media/base/android/media_codec_decoder.h"
@@ -87,7 +88,7 @@ class AudioMediaCodecDecoder : public MediaCodecDecoder {
base::TimeDelta base_timestamp_;
// Object to calculate the current audio timestamp for A/V sync.
- scoped_ptr<AudioTimestampHelper> audio_timestamp_helper_;
+ std::unique_ptr<AudioTimestampHelper> audio_timestamp_helper_;
// Reports current playback time to the callee.
SetTimeCallback update_current_time_cb_;
« no previous file with comments | « media/base/android/audio_decoder_job.h ('k') | media/base/android/media_codec_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698