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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm

Issue 1364113003: Only (and always) put URLs in NSLinkAttributeName. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@infobar1
Patch Set: 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/tab_contents/sad_tab_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
index 857881ddb6f9a89316459f16a3feb233b7a936fe..ca7441484961e8ddb25513fd3faa1e36f024da03 100644
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
@@ -180,7 +180,7 @@ static const CGFloat kMaxTopMargin = 130;
withFont:helpFont
messageColor:[message_ textColor]];
[help_ addLinkRange:NSMakeRange(linkOffset, helpLink.length())
- withName:@(chrome::kCrashReasonURL)
+ withURL:@(chrome::kCrashReasonURL)
linkColor:[message_ textColor]];
[help_ setAlignment:NSLeftTextAlignment];
[help_ sizeToFit];

Powered by Google App Engine
This is Rietveld 408576698