| Index: chrome/browser/ui/ash/ash_util.cc
|
| diff --git a/chrome/browser/ui/ash/ash_util.cc b/chrome/browser/ui/ash/ash_util.cc
|
| index 488cc4c3f8cef178575b9d5369410285ff35d061..b99be69ee80ff39cd2f2d21d3bed2ed736c6a296 100644
|
| --- a/chrome/browser/ui/ash/ash_util.cc
|
| +++ b/chrome/browser/ui/ash/ash_util.cc
|
| @@ -7,6 +7,7 @@
|
| #include "ash/shell.h"
|
| #include "chrome/browser/ui/ash/ash_init.h"
|
| #include "ui/aura/root_window.h"
|
| +#include "ui/gfx/screen.h"
|
|
|
| namespace chrome {
|
|
|
| @@ -36,10 +37,12 @@ bool IsNativeWindowInAsh(gfx::NativeWindow native_window) {
|
| }
|
|
|
| void ToggleAshDesktop() {
|
| + gfx::Screen::ForceScreenTypeOverride(gfx::SCREEN_TYPE_ALTERNATE);
|
| if (!ash::Shell::HasInstance())
|
| OpenAsh();
|
| else
|
| CloseAsh();
|
| + gfx::Screen::ForceScreenTypeOverride(gfx::SCREEN_TYPE_COUNT);
|
| }
|
|
|
| } // namespace chrome
|
|
|