Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: webrtc/modules/desktop_capture/cropping_window_capturer.cc

Issue 2513103003: Remove deprecated CroppingWindowCapturer::Create (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698