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

Unified Diff: media/base/video_frame_pool_unittest.cc

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/video_frame_metadata.cc ('k') | media/base/video_frame_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame_pool_unittest.cc
diff --git a/media/base/video_frame_pool_unittest.cc b/media/base/video_frame_pool_unittest.cc
index 85ae773ed237f4e0d56c87646413bc6c1f01499d..fd373e6e9b84ff65d9c8d844ce979d0c9ce52cc6 100644
--- a/media/base/video_frame_pool_unittest.cc
+++ b/media/base/video_frame_pool_unittest.cc
@@ -4,6 +4,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include "media/base/video_frame_pool.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -39,7 +40,7 @@ class VideoFramePoolTest : public ::testing::Test {
}
protected:
- scoped_ptr<VideoFramePool> pool_;
+ std::unique_ptr<VideoFramePool> pool_;
};
TEST_F(VideoFramePoolTest, FrameInitializedAndZeroed) {
« no previous file with comments | « media/base/video_frame_metadata.cc ('k') | media/base/video_frame_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698