| Index: webrtc/modules/desktop_capture/window_capturer_null.cc
|
| diff --git a/webrtc/modules/desktop_capture/window_capturer_null.cc b/webrtc/modules/desktop_capture/window_capturer_null.cc
|
| index 78165134e07e31d2168d1c2229ea8b8dac5f664a..e75621c473ca1defcb68486a52d83069b2e19e62 100755
|
| --- a/webrtc/modules/desktop_capture/window_capturer_null.cc
|
| +++ b/webrtc/modules/desktop_capture/window_capturer_null.cc
|
| @@ -8,18 +8,17 @@
|
| * 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 "webrtc/base/constructormagic.h"
|
| +#include "webrtc/modules/desktop_capture/desktop_capturer.h"
|
| #include "webrtc/modules/desktop_capture/desktop_frame.h"
|
|
|
| namespace webrtc {
|
|
|
| namespace {
|
|
|
| -class WindowCapturerNull : public WindowCapturer {
|
| +class WindowCapturerNull : public DesktopCapturer {
|
| public:
|
| WindowCapturerNull();
|
| ~WindowCapturerNull() override;
|
| @@ -64,11 +63,6 @@ void WindowCapturerNull::CaptureFrame() {
|
| } // namespace
|
|
|
| // static
|
| -WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) {
|
| - return new WindowCapturerNull();
|
| -}
|
| -
|
| -// static
|
| std::unique_ptr<DesktopCapturer> DesktopCapturer::CreateRawWindowCapturer(
|
| const DesktopCaptureOptions& options) {
|
| return std::unique_ptr<DesktopCapturer>(new WindowCapturerNull());
|
|
|