Index: webrtc/api/videocapturertracksource.h |
diff --git a/webrtc/api/videocapturertracksource.h b/webrtc/api/videocapturertracksource.h |
index 2eb7b507418799e17accd6049ca76bf824cf19f0..fa4ef0709bba1d0ed2c772b718999ab6a8565c6e 100644 |
--- a/webrtc/api/videocapturertracksource.h |
+++ b/webrtc/api/videocapturertracksource.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_API_VIDEOCAPTURERTRACKSOURCE_H_ |
#define WEBRTC_API_VIDEOCAPTURERTRACKSOURCE_H_ |
+#include <memory> |
+ |
#include "webrtc/api/mediastreaminterface.h" |
#include "webrtc/api/videotracksource.h" |
#include "webrtc/base/asyncinvoker.h" |
@@ -73,7 +75,7 @@ class VideoCapturerTrackSource : public VideoTrackSource, |
rtc::Thread* signaling_thread_; |
rtc::Thread* worker_thread_; |
rtc::AsyncInvoker invoker_; |
- rtc::scoped_ptr<cricket::VideoCapturer> video_capturer_; |
+ std::unique_ptr<cricket::VideoCapturer> video_capturer_; |
bool started_; |
cricket::VideoFormat format_; |
rtc::Optional<bool> needs_denoising_; |