chore: Remove redundant IS_WIN check inside electron_main_win.cc (#47967)
This commit is contained in:
parent
26ffc8505c
commit
27a8cc531b
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue