| 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 1f33155656d61d87016937b318a3fc23a72877ea..18be4eb30ba60e0f0a344f9b95f472a497f26216 100644
|
| --- a/webrtc/modules/desktop_capture/screen_capturer_win.cc
|
| +++ b/webrtc/modules/desktop_capture/screen_capturer_win.cc
|
| @@ -10,6 +10,8 @@
|
|
|
| #include "webrtc/modules/desktop_capture/screen_capturer.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "webrtc/modules/desktop_capture/desktop_capture_options.h"
|
| #include "webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h"
|
| #include "webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.h"
|
| @@ -22,7 +24,7 @@ ScreenCapturer* ScreenCapturer::Create(const DesktopCaptureOptions& options) {
|
| new ScreenCapturerWinGdi(options));
|
|
|
| if (options.allow_use_magnification_api())
|
| - return new ScreenCapturerWinMagnifier(gdi_capturer.Pass());
|
| + return new ScreenCapturerWinMagnifier(std::move(gdi_capturer));
|
|
|
| return gdi_capturer.release();
|
| }
|
|
|