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
commit 27a8cc531b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.