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 5ffd1f996a4d13489e39a5aff82eee55990d8799..b4256810ca9b56af5f5fd3bbf2087a6263fad30b 100644 |
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc |
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc |
@@ -36,7 +36,7 @@ static LPCTSTR kMagnifierWindowName = L"MagnifierWindow"; |
Atomic32 ScreenCapturerWinMagnifier::tls_index_(TLS_OUT_OF_INDEXES); |
ScreenCapturerWinMagnifier::ScreenCapturerWinMagnifier( |
- std::unique_ptr<ScreenCapturer> fallback_capturer) |
+ std::unique_ptr<DesktopCapturer> fallback_capturer) |
: fallback_capturer_(std::move(fallback_capturer)) {} |
ScreenCapturerWinMagnifier::~ScreenCapturerWinMagnifier() { |
@@ -139,7 +139,7 @@ bool ScreenCapturerWinMagnifier::SelectScreen(ScreenId id) { |
current_screen_id_ = id; |
if (fallback_capturer_started_) |
- fallback_capturer_->SelectScreen(id); |
+ fallback_capturer_->SelectSource(id); |
return valid; |
} |
@@ -382,7 +382,7 @@ void ScreenCapturerWinMagnifier::StartFallbackCapturer() { |
fallback_capturer_started_ = true; |
fallback_capturer_->Start(callback_); |
- fallback_capturer_->SelectScreen(current_screen_id_); |
+ fallback_capturer_->SelectSource(current_screen_id_); |
} |
} |