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 6ba815fc2947117d813444b25784613d85aeb27e..4cd9b8c1ee74097c9a0b6bcdb8a2ddc5fef41d65 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc |
@@ -210,12 +210,6 @@ DesktopRect CroppingWindowCapturerWin::GetWindowRectInVirtualScreen() { |
} // namespace |
// static |
-DesktopCapturer* CroppingWindowCapturer::Create( |
- const DesktopCaptureOptions& options) { |
- return new CroppingWindowCapturerWin(options); |
-} |
- |
-// static |
std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer( |
const DesktopCaptureOptions& options) { |
return std::unique_ptr<DesktopCapturer>( |