summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/infobars/link_infobar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/infobars/link_infobar.cc')
-rw-r--r--chrome/browser/ui/views/infobars/link_infobar.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/infobars/link_infobar.cc b/chrome/browser/ui/views/infobars/link_infobar.cc
index be319d2..5558446 100644
--- a/chrome/browser/ui/views/infobars/link_infobar.cc
+++ b/chrome/browser/ui/views/infobars/link_infobar.cc
@@ -59,8 +59,7 @@ void LinkInfoBar::ViewHierarchyChanged(bool is_add, View* parent, View* child) {
label_1_ = CreateLabel(message_text.substr(0, offset));
AddChildView(label_1_);
- link_ = CreateLink(delegate->GetLinkText(), this,
- background()->get_color());
+ link_ = CreateLink(delegate->GetLinkText(), this);
AddChildView(link_);
label_2_ = CreateLabel(message_text.substr(offset));