Index: webrtc/modules/desktop_capture/window_capturer_win.cc |
diff --git a/webrtc/modules/desktop_capture/window_capturer_win.cc b/webrtc/modules/desktop_capture/window_capturer_win.cc |
index feb25c75d78fed3622a66565f20c52cc657d06b0..31ad0b0acac2055173747bcb7614c852699df680 100644 |
--- a/webrtc/modules/desktop_capture/window_capturer_win.cc |
+++ b/webrtc/modules/desktop_capture/window_capturer_win.cc |
@@ -8,8 +8,6 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#include "webrtc/modules/desktop_capture/window_capturer.h" |
- |
#include <assert.h> |
#include <memory> |
@@ -17,6 +15,7 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/win32.h" |
+#include "webrtc/modules/desktop_capture/desktop_capturer.h" |
#include "webrtc/modules/desktop_capture/desktop_frame_win.h" |
#include "webrtc/modules/desktop_capture/win/window_capture_utils.h" |
#include "webrtc/system_wrappers/include/logging.h" |
@@ -80,7 +79,7 @@ BOOL CALLBACK WindowsEnumerationHandler(HWND hwnd, LPARAM param) { |
return TRUE; |
} |
-class WindowCapturerWin : public WindowCapturer { |
+class WindowCapturerWin : public DesktopCapturer { |
public: |
WindowCapturerWin(); |
~WindowCapturerWin() override; |
@@ -264,11 +263,6 @@ void WindowCapturerWin::CaptureFrame() { |
} // namespace |
// static |
-WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { |
- return new WindowCapturerWin(); |
-} |
- |
-// static |
std::unique_ptr<DesktopCapturer> DesktopCapturer::CreateRawWindowCapturer( |
const DesktopCaptureOptions& options) { |
return std::unique_ptr<DesktopCapturer>(new WindowCapturerWin()); |