Index: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc |
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc |
index 770cfa212c586da6d9009bb3f312bf6008d9a9c5..bbd5c6976f76d7955b232e2a1b6a6a86c78eafe5 100644 |
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc |
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc |
@@ -109,15 +109,15 @@ void ScreenCapturerWinDirectx::CaptureFrame() { |
callback_->OnCaptureResult(Result::SUCCESS, std::move(result)); |
} |
-bool ScreenCapturerWinDirectx::GetScreenList(ScreenList* screens) { |
+bool ScreenCapturerWinDirectx::GetSourceList(SourceList* sources) { |
int screen_count = DxgiDuplicatorController::Instance()->ScreenCount(); |
for (int i = 0; i < screen_count; i++) { |
- screens->push_back(Screen{i}); |
+ sources->push_back({i}); |
} |
return true; |
} |
-bool ScreenCapturerWinDirectx::SelectScreen(ScreenId id) { |
+bool ScreenCapturerWinDirectx::SelectSource(SourceId id) { |
if (id == current_screen_id_) { |
return true; |
} |