| 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 f0382c3e8f46e159e99b6e398062e05a4e61be13..8f1c772c995b639b64309baa42eba09bc58edb12 100644
|
| --- a/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| +++ b/webrtc/modules/desktop_capture/cropping_window_capturer.cc
|
| @@ -21,8 +21,7 @@ CroppingWindowCapturer::CroppingWindowCapturer(
|
| callback_(NULL),
|
| window_capturer_(DesktopCapturer::CreateRawWindowCapturer(options)),
|
| selected_window_(kNullWindowId),
|
| - excluded_window_(kNullWindowId) {
|
| -}
|
| + excluded_window_(kNullWindowId) {}
|
|
|
| CroppingWindowCapturer::~CroppingWindowCapturer() {}
|
|
|
| @@ -103,9 +102,9 @@ void CroppingWindowCapturer::OnCaptureResult(
|
|
|
| #if !defined(WEBRTC_WIN)
|
| // static
|
| -WindowCapturer*
|
| -CroppingWindowCapturer::Create(const DesktopCaptureOptions& options) {
|
| - return WindowCapturer::Create(options);
|
| +DesktopCapturer* CroppingWindowCapturer::Create(
|
| + const DesktopCaptureOptions& options) {
|
| + return DesktopCapturer::CreateWindowCapturer(options).release();
|
| }
|
| #endif
|
|
|
|
|