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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm

Issue 1364113003: Only (and always) put URLs in NSLinkAttributeName. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@infobar1
Patch Set: stray deletion Created 5 years, 3 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
Index: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
index 2af31fd705620cb2382d980bb16b61607a726bec..00e7201129abacbec069ef02fa46681f1b04f922 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
@@ -101,7 +101,7 @@ NSTextView* AddTextView(
withFont:font
messageColor:[NSColor blackColor]];
[textView addLinkRange:NSMakeRange(offset, [linkString length])
- withName:@""
+ withURL:@"about:blank" // using a link here is bad ui
linkColor:linkColor];
RemoveUnderlining(textView, offset, link.size());
[textView setDelegate:delegate];

Powered by Google App Engine
This is Rietveld 408576698