mirror of
https://github.com/electron/electron.git
synced 2026-01-08 07:04:01 -05:00
chore: Remove redundant IS_WIN check inside electron_main_win.cc (#47967)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user