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

Unified Diff: media/base/video_frame.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/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index 944a04018ca25c55a6fbd3d12e98b35374e35b77..560a549941d227fbaf5295538c3763b7257ffa8a 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
@@ -528,7 +529,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
// Array of data pointers to each plane.
// TODO(mcasas): we don't know on ctor if we own |data_| or not. After
- // refactoring VideoFrame, change to scoped_ptr<uint8_t, AlignedFreeDeleter>.
+ // refactoring VideoFrame, change to std::unique_ptr<uint8_t,
dcheng 2016/04/23 00:57:23 This wrapping is kind of unfortunate. Maybe we can
danakj 2016/04/23 01:11:15 Done.
+ // AlignedFreeDeleter>.
uint8_t* data_[kMaxPlanes];
// Native texture mailboxes, if this is a IsTexture() frame.

Powered by Google App Engine
This is Rietveld 408576698