| Index: chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
|
| diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
|
| index 763a15a4a8f7f48802a5827276d64ab5ad648fba..3ee1e66844797656db025c17237b6420892fcb62 100644
|
| --- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
|
| +++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
|
| @@ -25,6 +25,7 @@
|
| #include "ui/aura/mus/mus_util.h"
|
| #include "ui/aura/mus/property_converter.h"
|
| #include "ui/aura/window.h"
|
| +#include "ui/compositor/layer_type.h"
|
| #include "ui/compositor/paint_context.h"
|
| #include "ui/compositor/paint_recorder.h"
|
| #include "ui/views/mus/mus_client.h"
|
| @@ -260,7 +261,7 @@ void ImmersiveModeControllerAsh::OnImmersiveRevealStarted() {
|
| DestroyMashRevealWidget();
|
|
|
| visible_fraction_ = 0;
|
| - browser_view_->top_container()->SetPaintToLayer(true);
|
| + browser_view_->top_container()->SetPaintToLayer(ui::LAYER_TEXTURED);
|
| browser_view_->top_container()->layer()->SetFillsBoundsOpaquely(false);
|
| UpdateTabIndicators();
|
| LayoutBrowserRootView();
|
| @@ -272,14 +273,14 @@ void ImmersiveModeControllerAsh::OnImmersiveRevealStarted() {
|
| void ImmersiveModeControllerAsh::OnImmersiveRevealEnded() {
|
| DestroyMashRevealWidget();
|
| visible_fraction_ = 0;
|
| - browser_view_->top_container()->SetPaintToLayer(false);
|
| + browser_view_->top_container()->SetPaintToLayer(ui::LAYER_NOT_DRAWN);
|
| UpdateTabIndicators();
|
| LayoutBrowserRootView();
|
| }
|
|
|
| void ImmersiveModeControllerAsh::OnImmersiveFullscreenExited() {
|
| DestroyMashRevealWidget();
|
| - browser_view_->top_container()->SetPaintToLayer(false);
|
| + browser_view_->top_container()->SetPaintToLayer(ui::LAYER_NOT_DRAWN);
|
| UpdateTabIndicators();
|
| LayoutBrowserRootView();
|
| }
|
|
|