| 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 8d14d2f5793518c86849b744edd216a18955add3..1fc3ccd24999daa512d2eb913de66f3322671232 100644
|
| --- a/chrome/browser/ui/views/infobars/infobar_view.cc
|
| +++ b/chrome/browser/ui/views/infobars/infobar_view.cc
|
| @@ -19,6 +19,7 @@
|
| #include "third_party/skia/include/effects/SkGradientShader.h"
|
| #include "ui/accessibility/ax_node_data.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| +#include "ui/compositor/layer_type.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/image/image.h"
|
| @@ -80,10 +81,10 @@ InfoBarView::InfoBarView(std::unique_ptr<infobars::InfoBarDelegate> delegate)
|
|
|
| AddChildView(child_container_);
|
|
|
| - SetPaintToLayer(true);
|
| + SetPaintToLayer(ui::LAYER_TEXTURED);
|
| layer()->SetFillsBoundsOpaquely(false);
|
|
|
| - child_container_->SetPaintToLayer(true);
|
| + child_container_->SetPaintToLayer(ui::LAYER_TEXTURED);
|
| child_container_->layer()->SetMasksToBounds(true);
|
| child_container_->set_background(views::Background::CreateSolidBackground(
|
| infobars::InfoBar::GetBackgroundColor(
|
|
|