Index: webrtc/modules/desktop_capture/cropping_window_capturer.h |
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.h b/webrtc/modules/desktop_capture/cropping_window_capturer.h |
index af456e59a30536ddb5dc59fdccecc75e77cc4367..177b5443a31de717257e40cc0b62e0ebf3540b62 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.h |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPING_WINDOW_CAPTURER_H_ |
#define WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPING_WINDOW_CAPTURER_H_ |
+#include <memory> |
+ |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/desktop_capture/desktop_capture_options.h" |
#include "webrtc/modules/desktop_capture/screen_capturer.h" |
@@ -63,8 +65,8 @@ class CroppingWindowCapturer : public WindowCapturer, |
private: |
DesktopCaptureOptions options_; |
DesktopCapturer::Callback* callback_; |
- rtc::scoped_ptr<WindowCapturer> window_capturer_; |
- rtc::scoped_ptr<ScreenCapturer> screen_capturer_; |
+ std::unique_ptr<WindowCapturer> window_capturer_; |
+ std::unique_ptr<ScreenCapturer> screen_capturer_; |
WindowId selected_window_; |
WindowId excluded_window_; |
}; |