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

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

Issue 2409833002: Remove DesktopRegion parameter in DesktopCapturer::Capture. (Closed)
Patch Set: Change Capture2 to CaptureFrame Created 4 years, 2 months 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/desktop_and_cursor_composer.cc
diff --git a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc
index a4deda6ae95b915039735fafa7dfe1d454ab3923..0ff3373e823bcd1a89c12ee1db6344d0daf642c7 100644
--- a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc
+++ b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc
@@ -145,10 +145,10 @@ void DesktopAndCursorComposer::SetSharedMemoryFactory(
desktop_capturer_->SetSharedMemoryFactory(std::move(shared_memory_factory));
}
-void DesktopAndCursorComposer::Capture(const DesktopRegion& region) {
+void DesktopAndCursorComposer::CaptureFrame() {
if (mouse_monitor_.get())
mouse_monitor_->Capture();
- desktop_capturer_->Capture(region);
+ desktop_capturer_->CaptureFrame();
}
void DesktopAndCursorComposer::SetExcludedWindow(WindowId window) {

Powered by Google App Engine
This is Rietveld 408576698