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

Unified Diff: ui/views/controls/styled_label.cc

Issue 1407093007: Autofill: Add legal message footer to save credit card bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 | « chrome/chrome_tests_unit.gypi ('k') | ui/views/controls/styled_label_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/styled_label.cc
diff --git a/ui/views/controls/styled_label.cc b/ui/views/controls/styled_label.cc
index 91eb933222de2d90462e967132a0251f702630b5..6c0ec76365e1d8bb1f3eea35008e3d14c8073c71 100644
--- a/ui/views/controls/styled_label.cc
+++ b/ui/views/controls/styled_label.cc
@@ -215,7 +215,7 @@ void StyledLabel::PreferredSizeChanged() {
void StyledLabel::LinkClicked(Link* source, int event_flags) {
if (listener_)
- listener_->StyledLabelLinkClicked(link_targets_[source], event_flags);
+ listener_->StyledLabelLinkClicked(this, link_targets_[source], event_flags);
}
gfx::Size StyledLabel::CalculateAndDoLayout(int width, bool dry_run) {
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | ui/views/controls/styled_label_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698