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

Unified Diff: media/base/android/media_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: . 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/android/media_decoder_job.h
diff --git a/media/base/android/media_decoder_job.h b/media/base/android/media_decoder_job.h
index b0136aa8191d6f1284514f18f5100d281044ddcc..01fc7c489a3e97fb4ded186da251aec2193214e3 100644
--- a/media/base/android/media_decoder_job.h
+++ b/media/base/android/media_decoder_job.h
@@ -6,6 +6,7 @@
#define MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_
#include <stddef.h>
+#include <memory>
#include "base/callback.h"
#include "base/macros.h"
@@ -161,7 +162,7 @@ class MediaDecoderJob {
bool need_to_reconfig_decoder_job_;
- scoped_ptr<MediaCodecBridge> media_codec_bridge_;
+ std::unique_ptr<MediaCodecBridge> media_codec_bridge_;
private:
friend class MediaSourcePlayerTest;

Powered by Google App Engine
This is Rietveld 408576698