Index: webrtc/media/engine/webrtcvideocapturer_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideocapturer_unittest.cc b/webrtc/media/engine/webrtcvideocapturer_unittest.cc |
index 6d88bcc8ec8cc178c9da42f1fb947e68983f6c87..23d730696e50ac9e39da2e27688387c9a879bfac 100644 |
--- a/webrtc/media/engine/webrtcvideocapturer_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideocapturer_unittest.cc |
@@ -11,7 +11,10 @@ |
#ifdef HAVE_WEBRTC_VIDEO |
#include <stdio.h> |
+ |
+#include <memory> |
#include <vector> |
+ |
#include "webrtc/base/gunit.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/stringutils.h" |
@@ -46,7 +49,7 @@ class WebRtcVideoCapturerTest : public testing::Test { |
protected: |
FakeWebRtcVcmFactory* factory_; // owned by capturer_ |
- rtc::scoped_ptr<cricket::WebRtcVideoCapturer> capturer_; |
+ std::unique_ptr<cricket::WebRtcVideoCapturer> capturer_; |
cricket::VideoCapturerListener listener_; |
}; |