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

Unified Diff: ui/base/cocoa/controls/hyperlink_text_view_unittest.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 | « ui/base/cocoa/controls/hyperlink_text_view.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/controls/hyperlink_text_view_unittest.mm
diff --git a/ui/base/cocoa/controls/hyperlink_text_view_unittest.mm b/ui/base/cocoa/controls/hyperlink_text_view_unittest.mm
index 671be65386cf6e8fc07b9ac03b873f2f656f3384..28014246f754f6daca765eaf9682e55bf6012636 100644
--- a/ui/base/cocoa/controls/hyperlink_text_view_unittest.mm
+++ b/ui/base/cocoa/controls/hyperlink_text_view_unittest.mm
@@ -40,11 +40,12 @@ class HyperlinkTextViewTest : public ui::CocoaTest {
[[NSMutableDictionary dictionaryWithDictionary:
GetDefaultTextAttributes()] retain]);
[linkAttributes_ addEntriesFromDictionary:@{
- NSForegroundColorAttributeName : [NSColor blueColor],
- NSUnderlineStyleAttributeName : @(YES),
- NSCursorAttributeName : [NSCursor pointingHandCursor],
- NSUnderlineStyleAttributeName : @(NSSingleUnderlineStyle),
- NSLinkAttributeName : @""}];
+ NSForegroundColorAttributeName : [NSColor blueColor],
+ NSUnderlineStyleAttributeName : @(YES),
+ NSCursorAttributeName : [NSCursor pointingHandCursor],
+ NSUnderlineStyleAttributeName : @(NSUnderlineStyleSingle),
+ NSLinkAttributeName : @""
+ }];
}
return [NSMutableDictionary dictionaryWithDictionary:linkAttributes_];
}
« no previous file with comments | « ui/base/cocoa/controls/hyperlink_text_view.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698