Index: webrtc/modules/desktop_capture/screen_capturer_win.cc |
diff --git a/webrtc/modules/desktop_capture/screen_capturer_win.cc b/webrtc/modules/desktop_capture/screen_capturer_win.cc |
index 18be4eb30ba60e0f0a344f9b95f472a497f26216..22113a870df4fa4c54a140801aecf8c694206ecb 100644 |
--- a/webrtc/modules/desktop_capture/screen_capturer_win.cc |
+++ b/webrtc/modules/desktop_capture/screen_capturer_win.cc |
@@ -10,6 +10,7 @@ |
#include "webrtc/modules/desktop_capture/screen_capturer.h" |
+#include <memory> |
#include <utility> |
#include "webrtc/modules/desktop_capture/desktop_capture_options.h" |
@@ -20,7 +21,7 @@ namespace webrtc { |
// static |
ScreenCapturer* ScreenCapturer::Create(const DesktopCaptureOptions& options) { |
- rtc::scoped_ptr<ScreenCapturer> gdi_capturer( |
+ std::unique_ptr<ScreenCapturer> gdi_capturer( |
new ScreenCapturerWinGdi(options)); |
if (options.allow_use_magnification_api()) |