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

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

Issue 2473863004: Remove MaterialDesignController::IsModeMaterial (Closed)
Patch Set: pkasting review and rebase Created 4 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/browser/ui/views/infobars/infobar_background.cc ('k') | components/infobars/core/infobar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4fa4d87e4467b00b976fff668e74533d2d6c9033..8d14d2f5793518c86849b744edd216a18955add3 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -85,8 +85,8 @@ InfoBarView::InfoBarView(std::unique_ptr<infobars::InfoBarDelegate> delegate)
child_container_->SetPaintToLayer(true);
child_container_->layer()->SetMasksToBounds(true);
- child_container_->set_background(
- views::Background::CreateSolidBackground(infobars::InfoBar::GetTopColor(
+ child_container_->set_background(views::Background::CreateSolidBackground(
+ infobars::InfoBar::GetBackgroundColor(
infobars::InfoBar::delegate()->GetInfoBarType())));
}
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_background.cc ('k') | components/infobars/core/infobar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698