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

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: Address estade@ comments for patch set 12. 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
Index: ui/views/controls/styled_label.cc
diff --git a/ui/views/controls/styled_label.cc b/ui/views/controls/styled_label.cc
index 66a820f04f52a7bda44895e38f07c452bc3d1135..0393d409228b07a468723c0acaa83eeed54c4372 100644
--- a/ui/views/controls/styled_label.cc
+++ b/ui/views/controls/styled_label.cc
@@ -217,7 +217,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) {

Powered by Google App Engine
This is Rietveld 408576698