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

Unified Diff: media/base/android/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: . 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_codec_decoder.h
diff --git a/media/base/android/media_codec_decoder.h b/media/base/android/media_codec_decoder.h
index 4135d27fb0153c5c1d583720b360f0e12bc81a4d..7bffb053db7b350b037e04362075574f35c5daee 100644
--- a/media/base/android/media_codec_decoder.h
+++ b/media/base/android/media_codec_decoder.h
@@ -7,11 +7,12 @@
#include <stddef.h>
+#include <memory>
+
#include "base/android/scoped_java_ref.h"
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread.h"
@@ -328,7 +329,7 @@ class MediaCodecDecoder {
FrameStatistics* frame_statistics_;
// Controls Android MediaCodec
- scoped_ptr<MediaCodecBridge> media_codec_bridge_;
+ std::unique_ptr<MediaCodecBridge> media_codec_bridge_;
// The queue of access units.
AccessUnitQueue au_queue_;

Powered by Google App Engine
This is Rietveld 408576698