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

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

Issue 2513103003: Remove deprecated CroppingWindowCapturer::Create (Closed)
Patch Set: 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..275a3ea0872e6a39e3827a7d833b67a5645cce77 100644
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.cc
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.cc
@@ -102,12 +102,6 @@ void CroppingWindowCapturer::OnCaptureResult(
#if !defined(WEBRTC_WIN)
// static
-DesktopCapturer* CroppingWindowCapturer::Create(
- const DesktopCaptureOptions& options) {
- return DesktopCapturer::CreateWindowCapturer(options).release();
-}
-
-// static
std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
const DesktopCaptureOptions& options) {
return DesktopCapturer::CreateWindowCapturer(options);
Sergey Ulanov 2016/11/21 19:36:09 Add a comment here that CroppingWindowCapturer is
Hzj_jie 2016/11/21 21:15:10 Done.

Powered by Google App Engine
This is Rietveld 408576698