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

Unified Diff: media/base/android/audio_decoder_job.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/android_cdm_factory.h ('k') | media/base/android/audio_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_decoder_job.h
diff --git a/media/base/android/audio_decoder_job.h b/media/base/android/audio_decoder_job.h
index 8b1b4e9c51fd8aa1e2c6f9a212b3115cd054f096..37a20c85fc1c0db49e7b79f63ad30285c5923509 100644
--- a/media/base/android/audio_decoder_job.h
+++ b/media/base/android/audio_decoder_job.h
@@ -8,6 +8,7 @@
#include <jni.h>
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/callback.h"
@@ -81,7 +82,7 @@ class AudioDecoderJob : public MediaDecoderJob {
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_;
// The time limit for the next frame to avoid underrun.
base::TimeTicks next_frame_time_limit_;
« no previous file with comments | « media/base/android/android_cdm_factory.h ('k') | media/base/android/audio_media_codec_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698