diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index d0472f20f383..68ee36eabcb1 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -340,7 +340,6 @@ bool ScopedDisableResize::disable_resize_ = false; // titlebar is expected to be empty, but after entering fullscreen mode we // have to set one, because title bar is visible here. NSWindow* window = shell_->GetNativeWindow(); - if ((shell_->transparent() || !shell_->has_frame()) && base::mac::IsAtLeastOS10_10() && // FIXME(zcbenz): Showing titlebar for hiddenInset window is weird under diff --git a/atom/common/options_switches.cc b/atom/common/options_switches.cc index f3629c93e913..38f96abbd9fb 100644 --- a/atom/common/options_switches.cc +++ b/atom/common/options_switches.cc @@ -49,8 +49,7 @@ const char kUseContentSize[] = "useContentSize"; const char kZoomToPageWidth[] = "zoomToPageWidth"; // Whether always show title text in full screen is enabled. -const char kFullscreenWindowTitle[] = -"fullscreenWindowTitle"; +const char kFullscreenWindowTitle[] = "fullscreenWindowTitle"; // The requested title bar style for the window const char kTitleBarStyle[] = "titleBarStyle";