| Index: webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.cc b/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| index d2cc0ae2e81ed77be2aa5f66fc96803747d9554d..711fe0d1ba6224b2a52d0c7e238a22a976c705b2 100644
|
| --- a/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| +++ b/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| @@ -101,12 +101,8 @@ void CroppingWindowCapturer::OnCaptureResult(
|
| }
|
|
|
| #if !defined(WEBRTC_WIN)
|
| -// static
|
| -DesktopCapturer* CroppingWindowCapturer::Create(
|
| - const DesktopCaptureOptions& options) {
|
| - return DesktopCapturer::CreateWindowCapturer(options).release();
|
| -}
|
| -
|
| +// CroppingWindowCapturer is implemented only for windows. On other platforms
|
| +// the regular window capturer is used.
|
| // static
|
| std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
|
| const DesktopCaptureOptions& options) {
|
|
|