* **Electron Version** (output of `node_modules/.bin/electron --version`):
  * 5.0.0-beta.2
* **Operating System** (Platform and Version):
  * Windows 7 Professional (SP1)

### Expected Behavior
Not crash

### Actual behavior
Crash 3221225477

### To Reproduce
https://github.com/Gvozd/electron-quick-start/tree/issue-16883
based on electron-quick-start. only updated electron to 5.0.0-beta.2
try to open devtools from menu - crash

atom/browser/ui/views/menu_bar.cc
if (!theme)
    theme = ui::NativeTheme::GetInstanceForNativeUi();
  if (theme) {
#if defined(USE_X11)
    background_color_ = libgtkui::GetBgColor("GtkMenuBar#menubar");
    enabled_color_ = libgtkui::GetFgColor(
        "GtkMenuBar#menubar GtkMenuItem#menuitem GtkLabel");
    disabled_color_ = libgtkui::GetFgColor(
        "GtkMenuBar#menubar GtkMenuItem#menuitem:disabled GtkLabel");
#else
    background_color_ =
        theme->GetSystemColor(ui::NativeTheme::kColorId_MenuBackgroundColor);
#endif
  }
#if defined(OS_WIN)
  background_color_ = color_utils::GetSysSkColor(COLOR_MENUBAR);
#endif
}
void MenuBar::OnNativeThemeChanged(const ui::NativeTheme* theme) {