| Index: ash/common/frame/header_view.cc
|
| diff --git a/ash/common/frame/header_view.cc b/ash/common/frame/header_view.cc
|
| index d868bcf1ac20c6e77f366ffcb5c9fbcc095dc281..b1c5a6862da605c32cdb9b19cdd52344dd1db9c9 100644
|
| --- a/ash/common/frame/header_view.cc
|
| +++ b/ash/common/frame/header_view.cc
|
| @@ -164,20 +164,20 @@ views::View* HeaderView::avatar_icon() const {
|
|
|
| void HeaderView::OnImmersiveRevealStarted() {
|
| fullscreen_visible_fraction_ = 0;
|
| - SetPaintToLayer(true);
|
| + SetPaintToLayer();
|
| layer()->SetFillsBoundsOpaquely(false);
|
| parent()->Layout();
|
| }
|
|
|
| void HeaderView::OnImmersiveRevealEnded() {
|
| fullscreen_visible_fraction_ = 0;
|
| - SetPaintToLayer(false);
|
| + DestroyLayer();
|
| parent()->Layout();
|
| }
|
|
|
| void HeaderView::OnImmersiveFullscreenExited() {
|
| fullscreen_visible_fraction_ = 0;
|
| - SetPaintToLayer(false);
|
| + DestroyLayer();
|
| parent()->Layout();
|
| }
|
|
|
|
|