diff --git a/src/rtc_desktop_media_list_impl.cc b/src/rtc_desktop_media_list_impl.cc index b744041dd3..09c02cd190 100644 --- a/src/rtc_desktop_media_list_impl.cc +++ b/src/rtc_desktop_media_list_impl.cc @@ -74,9 +74,7 @@ int32_t RTCDesktopMediaListImpl::UpdateSourceList(bool force_reload, bool get_th } webrtc::DesktopCapturer::SourceList new_sources; - thread_->Invoke(RTC_FROM_HERE, [this,&new_sources] { - capturer_->GetSourceList(&new_sources); - }); + capturer_->GetSourceList(&new_sources); typedef std::set SourceSet; SourceSet new_source_set;