Index: chrome/browser/ui/cocoa/autofill/autofill_notification_controller.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.mm b/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.mm |
index 93590e30af1990ac0c2c141009ec1559e0a99c67..0246250ce0bd50ba3483b3912e50608d57f27a4e 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.mm |
@@ -86,11 +86,11 @@ |
withFont:[NSFont labelFontOfSize:[[textview_ font] pointSize]] |
messageColor:textColor]; |
if (!notification->link_range().is_empty()) { |
+ linkURL_ = notification->link_url(); |
[textview_ setDelegate:self]; |
[textview_ addLinkRange:notification->link_range().ToNSRange() |
- withName:self |
+ withURL:base::SysUTF8ToNSString(linkURL_.spec()) |
linkColor:[NSColor blueColor]]; |
- linkURL_ = notification->link_url(); |
} |
tooltipController_.reset([[AutofillTooltipController alloc] |