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

Unified Diff: webrtc/media/base/videoadapter_unittest.cc

Issue 1728503002: Replace scoped_ptr with unique_ptr in webrtc/media/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up1
Patch Set: Created 4 years, 10 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 | « webrtc/media/base/videoadapter.h ('k') | webrtc/media/base/videocapturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoadapter_unittest.cc
diff --git a/webrtc/media/base/videoadapter_unittest.cc b/webrtc/media/base/videoadapter_unittest.cc
index a1c910c5ca4c1610242c8107c5ae4bce04f66a38..cc4c37aae20781e9203ae5cf429c14c2b2071cdd 100644
--- a/webrtc/media/base/videoadapter_unittest.cc
+++ b/webrtc/media/base/videoadapter_unittest.cc
@@ -11,6 +11,8 @@
// If we don't have a WebRtcVideoFrame, just skip all of these tests.
#if defined(HAVE_WEBRTC_VIDEO)
#include <limits.h> // For INT_MAX
+
+#include <memory>
#include <string>
#include <vector>
@@ -132,9 +134,9 @@ class VideoAdapterTest : public testing::Test {
EXPECT_EQ(height, stats.adapted_height);
}
- rtc::scoped_ptr<FakeVideoCapturer> capturer_;
- rtc::scoped_ptr<VideoAdapter> adapter_;
- rtc::scoped_ptr<VideoCapturerListener> listener_;
+ std::unique_ptr<FakeVideoCapturer> capturer_;
+ std::unique_ptr<VideoAdapter> adapter_;
+ std::unique_ptr<VideoCapturerListener> listener_;
VideoFormat capture_format_;
};
« no previous file with comments | « webrtc/media/base/videoadapter.h ('k') | webrtc/media/base/videocapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698