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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.cc

Issue 14175017: Remove one-click signin inforbar, since its now replaced with the gaia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 8 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/views/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index 8638467ceb883e3c9e1768c9c989c83dbb95a73d..39cb63e1e50a5b52613bafc1c03af0238692ea7f 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -61,9 +61,7 @@ InfoBarView::InfoBarView(InfoBarService* owner, InfoBarDelegate* delegate)
icon_(NULL),
close_button_(NULL) {
set_owned_by_client(); // InfoBar deletes itself at the appropriate time.
- set_background(new InfoBarBackground(
- GetInfoBarTopColor(delegate->GetInfoBarType()),
- GetInfoBarBottomColor(delegate->GetInfoBarType())));
+ set_background(new InfoBarBackground(delegate->GetInfoBarType()));
}
InfoBarView::~InfoBarView() {
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_background.cc ('k') | chrome/browser/ui/views/infobars/one_click_signin_infobar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698