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

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

Issue 2433503002: Remove DesktopRegion parameter from DesktopCapturer::Capture (Closed)
Patch Set: 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 0ff3373e823bcd1a89c12ee1db6344d0daf642c7..bd184821cb51abeada827b5a9e6362d1fd802f2b 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::CaptureFrame() {
+void DesktopAndCursorComposer::Capture() {
if (mouse_monitor_.get())
mouse_monitor_->Capture();
- desktop_capturer_->CaptureFrame();
+ desktop_capturer_->Capture();
}
void DesktopAndCursorComposer::SetExcludedWindow(WindowId window) {

Powered by Google App Engine
This is Rietveld 408576698