| Index: webrtc/api/videocapturertracksource_unittest.cc
|
| diff --git a/webrtc/api/videocapturertracksource_unittest.cc b/webrtc/api/videocapturertracksource_unittest.cc
|
| index 6b0d07b0e085f99f5f981037d461cb515a19d564..90d2cd2563dfaccb79f91840eae6fa22bd8a83b2 100644
|
| --- a/webrtc/api/videocapturertracksource_unittest.cc
|
| +++ b/webrtc/api/videocapturertracksource_unittest.cc
|
| @@ -8,6 +8,7 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -109,7 +110,7 @@ class VideoCapturerTrackSourceTest : public testing::Test {
|
| protected:
|
| VideoCapturerTrackSourceTest() { InitCapturer(false); }
|
| void InitCapturer(bool is_screencast) {
|
| - capturer_cleanup_ = rtc::scoped_ptr<TestVideoCapturer>(
|
| + capturer_cleanup_ = std::unique_ptr<TestVideoCapturer>(
|
| new TestVideoCapturer(is_screencast));
|
| capturer_ = capturer_cleanup_.get();
|
| }
|
| @@ -132,10 +133,10 @@ class VideoCapturerTrackSourceTest : public testing::Test {
|
| source_->AddOrUpdateSink(&renderer_, rtc::VideoSinkWants());
|
| }
|
|
|
| - rtc::scoped_ptr<TestVideoCapturer> capturer_cleanup_;
|
| + std::unique_ptr<TestVideoCapturer> capturer_cleanup_;
|
| TestVideoCapturer* capturer_;
|
| cricket::FakeVideoRenderer renderer_;
|
| - rtc::scoped_ptr<StateObserver> state_observer_;
|
| + std::unique_ptr<StateObserver> state_observer_;
|
| rtc::scoped_refptr<VideoTrackSourceInterface> source_;
|
| };
|
|
|
|
|