diff --git a/atom/browser/ui/tray_icon_cocoa.mm b/atom/browser/ui/tray_icon_cocoa.mm index 6b05e002ad47..9c5e100a2a0c 100644 --- a/atom/browser/ui/tray_icon_cocoa.mm +++ b/atom/browser/ui/tray_icon_cocoa.mm @@ -91,7 +91,8 @@ const CGFloat kVerticalTitleMargin = 2; CGFloat thickness = [[statusItem_ statusBar] thickness]; // Draw the system bar background. - [statusItem_ drawStatusBarBackgroundInRect:self.bounds withHighlight:[self shouldHighlight]]; + [statusItem_ drawStatusBarBackgroundInRect:self.bounds + withHighlight:[self isHighlighted]]; // Determine which image to use. NSImage* image = image_.get();