diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index d2ca6b8621d1..c88469a9c8a1 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -389,8 +389,8 @@ bool ScopedDisableResize::disable_resize_ = false; return nil; } -- (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar - makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier { +- (NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar + makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier { if (touchBar && atom_touch_bar_) return [atom_touch_bar_ makeItemForIdentifier:identifier]; else