Index: webrtc/media/base/videocapturer_unittest.cc |
diff --git a/webrtc/media/base/videocapturer_unittest.cc b/webrtc/media/base/videocapturer_unittest.cc |
index bd145e33ea1c288437876e41c09bb0d3e882874a..6a3ebb0ce82a4a0a71e86e35e2ea7a463658e870 100644 |
--- a/webrtc/media/base/videocapturer_unittest.cc |
+++ b/webrtc/media/base/videocapturer_unittest.cc |
@@ -9,6 +9,8 @@ |
*/ |
#include <stdio.h> |
+ |
+#include <memory> |
#include <vector> |
#include "webrtc/base/gunit.h" |
@@ -40,7 +42,7 @@ class VideoCapturerTest |
protected: |
void InitCapturer(bool is_screencast) { |
- capturer_ = rtc::scoped_ptr<FakeVideoCapturer>( |
+ capturer_ = std::unique_ptr<FakeVideoCapturer>( |
new FakeVideoCapturer(is_screencast)); |
capturer_->SignalStateChange.connect(this, |
&VideoCapturerTest::OnStateChange); |
@@ -56,7 +58,7 @@ class VideoCapturerTest |
cricket::CaptureState capture_state() { return capture_state_; } |
int num_state_changes() { return num_state_changes_; } |
- rtc::scoped_ptr<cricket::FakeVideoCapturer> capturer_; |
+ std::unique_ptr<cricket::FakeVideoCapturer> capturer_; |
cricket::CaptureState capture_state_; |
int num_state_changes_; |
cricket::FakeVideoRenderer renderer_; |