Index: webrtc/test/frame_generator_capturer.h |
diff --git a/webrtc/test/frame_generator_capturer.h b/webrtc/test/frame_generator_capturer.h |
index 91ed84339576a6a3489c598c9cccc35a491f118f..2b34dd2c5996d36e3a218d1002a4b5f53a64c03e 100644 |
--- a/webrtc/test/frame_generator_capturer.h |
+++ b/webrtc/test/frame_generator_capturer.h |
@@ -10,6 +10,7 @@ |
#ifndef WEBRTC_TEST_FRAME_GENERATOR_CAPTURER_H_ |
#define WEBRTC_TEST_FRAME_GENERATOR_CAPTURER_H_ |
+#include <memory> |
#include <string> |
#include "webrtc/base/criticalsection.h" |
@@ -64,10 +65,10 @@ class FrameGeneratorCapturer : public VideoCapturer { |
Clock* const clock_; |
bool sending_; |
- rtc::scoped_ptr<EventTimerWrapper> tick_; |
+ std::unique_ptr<EventTimerWrapper> tick_; |
rtc::CriticalSection lock_; |
rtc::PlatformThread thread_; |
- rtc::scoped_ptr<FrameGenerator> frame_generator_; |
+ std::unique_ptr<FrameGenerator> frame_generator_; |
int target_fps_; |
VideoRotation fake_rotation_ = kVideoRotation_0; |