Index: ui/base/cocoa/controls/hyperlink_button_cell.mm |
diff --git a/ui/base/cocoa/controls/hyperlink_button_cell.mm b/ui/base/cocoa/controls/hyperlink_button_cell.mm |
index e67e60db12eb2f27bade8d3ebf90328a32ec2da3..754be72f613bc1eaeb6ad0fa274dd5c036bf27cf 100644 |
--- a/ui/base/cocoa/controls/hyperlink_button_cell.mm |
+++ b/ui/base/cocoa/controls/hyperlink_button_cell.mm |
@@ -91,7 +91,7 @@ using hyperlink_button_cell::UnderlineBehavior; |
// Creates the NSDictionary of attributes for the attributed string. |
- (NSDictionary*)linkAttributes { |
- NSUInteger underlineMask = NSNoUnderlineStyle; |
+ NSUInteger underlineMask = NSUnderlineStyleNone; |
if (underlineBehavior_ == UnderlineBehavior::ALWAYS || |
(mouseIsInside_ && [self isEnabled] && |
underlineBehavior_ == UnderlineBehavior::ON_HOVER)) { |