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

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

Issue 2496993003: CroppingWindowCapturer::CreateCapturer() function to replace raw pointer version (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
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/cropping_window_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/cropping_window_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698