chore: Remove redundant IS_WIN check inside electron_main_win.cc (#47967)

This commit is contained in:
Will Anderson
2025-08-07 00:54:13 -07:00
committed by GitHub
parent 26ffc8505c
commit 27a8cc531b

View File

@@ -214,10 +214,8 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {
return crashpad_status;
}
#if BUILDFLAG(IS_WIN)
// access ui native theme here to prevent blocking calls later
base::win::AllowDarkModeForApp(true);
#endif
#if defined(ARCH_CPU_32_BITS)
// Intentionally crash if converting to a fiber failed.