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

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

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 | « webrtc/modules/desktop_capture/cropping_window_capturer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
index e191d9f3549f22fd96dd3b87ecbbaebc89fc6de8..6ba815fc2947117d813444b25784613d85aeb27e 100644
--- a/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc
@@ -215,4 +215,11 @@ DesktopCapturer* CroppingWindowCapturer::Create(
return new CroppingWindowCapturerWin(options);
}
+// static
+std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
+ const DesktopCaptureOptions& options) {
+ return std::unique_ptr<DesktopCapturer>(
+ new CroppingWindowCapturerWin(options));
+}
+
} // namespace webrtc
« no previous file with comments | « webrtc/modules/desktop_capture/cropping_window_capturer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698