| 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 390c7aa2cf0dcb0f9f37f243ba065dfefa1a8a30..b0012dc05b02af4bc2c6072ce4d2f8a461c50246 100644
|
| --- a/chrome/browser/ui/views/infobars/infobar_view.cc
|
| +++ b/chrome/browser/ui/views/infobars/infobar_view.cc
|
| @@ -89,10 +89,10 @@ InfoBarView::InfoBarView(scoped_ptr<infobars::InfoBarDelegate> delegate)
|
|
|
| AddChildView(child_container_);
|
|
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - SetPaintToLayer(true);
|
| - layer()->SetFillsBoundsOpaquely(false);
|
| + SetPaintToLayer(true);
|
| + layer()->SetFillsBoundsOpaquely(false);
|
|
|
| + if (ui::MaterialDesignController::IsModeMaterial()) {
|
| child_container_->SetPaintToLayer(true);
|
| child_container_->layer()->SetMasksToBounds(true);
|
| // Since MD doesn't use a gradient, we can set a solid bg color.
|
|
|