Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: ui/app_list/cocoa/app_list_view_controller.mm

Issue 1842663003: Mac: Replace uses of deprecated NSNoUnderlineStyle and NSSingleUnderlineStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160329-Mac-DeploymentTarget
Patch Set: cl format Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/cocoa/controls/hyperlink_button_cell.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/app_list_view_controller.mm
diff --git a/ui/app_list/cocoa/app_list_view_controller.mm b/ui/app_list/cocoa/app_list_view_controller.mm
index 568acc72a08b53408e9fa48fc1839271607baa86..a05c6c00b1ae5d7de7f9c145bdfe3874b443b159 100644
--- a/ui/app_list/cocoa/app_list_view_controller.mm
+++ b/ui/app_list/cocoa/app_list_view_controller.mm
@@ -288,7 +288,7 @@ void AppListModelObserverBridge::OnShutdown() {
initWithString:base::SysUTF16ToNSString(messagePost)
attributes:defaultAttributes]);
- // NSNoUnderlineStyle is broken.
+ // NSUnderlineStyleNone is broken.
base::scoped_nsobject<NSAttributedString> learnMoreString(
[[NSAttributedString alloc]
initWithString:base::SysUTF16ToNSString(learnMore)
@@ -298,7 +298,7 @@ void AppListModelObserverBridge::OnShutdown() {
NSLinkAttributeName : linkURL,
NSBaselineOffsetAttributeName : baselineOffset,
NSUnderlineStyleAttributeName :
- [NSNumber numberWithInt:NSNoUnderlineStyle]
+ [NSNumber numberWithInt:NSUnderlineStyleNone]
}]);
base::scoped_nsobject<NSAttributedString> shortcutStringText(
[[NSAttributedString alloc]
« no previous file with comments | « no previous file | ui/base/cocoa/controls/hyperlink_button_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698