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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_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/passwords/manage_passwords_bubble_confirmation_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller.mm
index 9c302af6088c6b931fd4f163ca2f53048be2a044..c8afe4a0556c1d11af2407c9d1acfa7d588024b8 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller.mm
@@ -82,7 +82,7 @@ using namespace password_manager::mac::ui;
gfx::SkColorToCalibratedNSColor(chrome_style::GetLinkColor());
[confirmationText_
addLinkRange:model_->save_confirmation_link_range().ToNSRange()
- withName:@""
+ withURL:@"about:blank" // using a link here is bad ui
linkColor:linkColor];
[confirmationText_ setDelegate:self];
[[confirmationText_ textContainer] setLineFragmentPadding:0.0f];

Powered by Google App Engine
This is Rietveld 408576698