Index: webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
index e191d9f3549f22fd96dd3b87ecbbaebc89fc6de8..6ba815fc2947117d813444b25784613d85aeb27e 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
@@ -215,4 +215,11 @@ DesktopCapturer* CroppingWindowCapturer::Create( |
return new CroppingWindowCapturerWin(options); |
} |
+// static |
+std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer( |
+ const DesktopCaptureOptions& options) { |
+ return std::unique_ptr<DesktopCapturer>( |
+ new CroppingWindowCapturerWin(options)); |
+} |
+ |
} // namespace webrtc |