Index: webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc |
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc b/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc |
index e5a37c97d50d0b6526d836c8bcff070b9411a35b..5ffd1f996a4d13489e39a5aff82eee55990d8799 100644 |
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc |
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc |
@@ -72,7 +72,7 @@ void ScreenCapturerWinMagnifier::SetSharedMemoryFactory( |
shared_memory_factory_ = std::move(shared_memory_factory); |
} |
-void ScreenCapturerWinMagnifier::Capture(const DesktopRegion& region) { |
+void ScreenCapturerWinMagnifier::CaptureFrame() { |
if (!magnifier_initialized_ || |
!magnifier_capture_succeeded_ || |
GetSystemMetrics(SM_CMONITORS) != 1) { |
@@ -82,7 +82,7 @@ void ScreenCapturerWinMagnifier::Capture(const DesktopRegion& region) { |
"initialization or last capture attempt failed, or " |
"execute on multi-screen system."; |
StartFallbackCapturer(); |
- fallback_capturer_->Capture(region); |
+ fallback_capturer_->CaptureFrame(); |
return; |
} |
@@ -111,7 +111,7 @@ void ScreenCapturerWinMagnifier::Capture(const DesktopRegion& region) { |
LOG_F(LS_WARNING) << "Switching to the fallback screen capturer because " |
"last capture attempt failed."; |
StartFallbackCapturer(); |
- fallback_capturer_->Capture(region); |
+ fallback_capturer_->CaptureFrame(); |
return; |
} |