diff --git a/shell/browser/ui/tray_icon_cocoa.mm b/shell/browser/ui/tray_icon_cocoa.mm index 93052daaf19..128764d47f0 100644 --- a/shell/browser/ui/tray_icon_cocoa.mm +++ b/shell/browser/ui/tray_icon_cocoa.mm @@ -121,7 +121,7 @@ weight:NSFontWeightRegular] }; [attributed_title - setAttributes:attributes + addAttributes:attributes range:NSMakeRange(0, [attributed_title length])]; } } else if ([font_type isEqualToString:@"monospacedDigit"]) { @@ -132,7 +132,7 @@ weight:NSFontWeightRegular] }; [attributed_title - setAttributes:attributes + addAttributes:attributes range:NSMakeRange(0, [attributed_title length])]; } }