diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index af65d53368f4..1a20ea74d016 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -382,7 +382,7 @@ bool ScopedDisableResize::disable_resize_ = false; - (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier { - return [touch_bar_helper_ makeItemForIdentifier:identifier]; + return [atom_touch_bar_ makeItemForIdentifier:identifier]; } // NSWindow overrides.