fix: remove redundant MediaCaptureDevicesDispatcher::GetInstance() call (#45929)

fix: remove redundant MediaCaptureDevicesDispatcher::GetInstance() call

This appears to be a copy-paste error introduced in 465dee2c
This commit is contained in:
Charles Kerr
2025-03-10 09:44:24 -05:00
committed by GitHub
parent b0c11371e0
commit f2b09ff0bd

View File

@@ -344,9 +344,6 @@ int ElectronBrowserMainParts::PreCreateThreads() {
// Force MediaCaptureDevicesDispatcher to be created on UI thread.
MediaCaptureDevicesDispatcher::GetInstance();
// Force MediaCaptureDevicesDispatcher to be created on UI thread.
MediaCaptureDevicesDispatcher::GetInstance();
#if BUILDFLAG(IS_MAC)
ui::InitIdleMonitor();
Browser::Get()->ApplyForcedRTL();