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) { |