Index: webrtc/modules/desktop_capture/cropping_window_capturer.h |
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.h b/webrtc/modules/desktop_capture/cropping_window_capturer.h |
index 4c7c1dbd92f4ba2af49ed8e0d9c3af7897aaf239..fd6663e5c6437068e1f6010613c0ad01b730db56 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.h |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.h |
@@ -24,7 +24,11 @@ namespace webrtc { |
class CroppingWindowCapturer : public DesktopCapturer, |
public DesktopCapturer::Callback { |
public: |
+ // Deprecated, use CreateCapturer() |
static DesktopCapturer* Create(const DesktopCaptureOptions& options); |
+ static std::unique_ptr<DesktopCapturer> CreateCapturer( |
+ const DesktopCaptureOptions& options); |
+ |
~CroppingWindowCapturer() override; |
// DesktopCapturer implementation. |