| Index: components/exo/display.cc
|
| diff --git a/components/exo/display.cc b/components/exo/display.cc
|
| index e40fc94b0b1c3c07b1981b1f5e94832baa5cebda..cbe710ae9814e0161029a9cc8f5d3783dd09c8db 100644
|
| --- a/components/exo/display.cc
|
| +++ b/components/exo/display.cc
|
| @@ -8,6 +8,7 @@
|
| #include <utility>
|
|
|
| #include "ash/wm/common/wm_shell_window_ids.h"
|
| +#include "base/command_line.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "base/trace_event/trace_event_argument.h"
|
| @@ -28,10 +29,15 @@
|
|
|
| namespace exo {
|
|
|
| +const char kUseExoSurfaceLayer[] = "use-exo-surface-layer";
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // Display, public:
|
|
|
| -Display::Display() {}
|
| +Display::Display() {
|
| + Surface::SetUseSurfaceLayer(
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(kUseExoSurfaceLayer));
|
| +}
|
|
|
| Display::~Display() {}
|
|
|
|
|