| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index e117dbda8d15cbe97fb5dbe216f70130e956c5a1..9e9bf1b62056a55e7969162ba9cde60c8942433f 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -57,6 +57,7 @@
|
| #include "ash/shelf/shelf.h"
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "ash/shell_init_params.h"
|
| +#include "ash/system/chromeos/screen_layout_observer.h"
|
| #include "ash/utility/screenshot_controller.h"
|
| #include "ash/wm/ash_focus_rules.h"
|
| #include "ash/wm/ash_native_cursor_manager.h"
|
| @@ -588,6 +589,7 @@ Shell::~Shell() {
|
|
|
| #if defined(OS_CHROMEOS)
|
| screen_orientation_controller_.reset();
|
| + screen_layout_observer_.reset();
|
| #endif
|
|
|
| // Destroy the virtual keyboard controller before the maximize mode controller
|
| @@ -981,6 +983,7 @@ void Shell::Init(const ShellInitParams& init_params) {
|
| new VideoActivityNotifier(video_detector_.get()));
|
| bluetooth_notification_controller_.reset(new BluetoothNotificationController);
|
| screen_orientation_controller_.reset(new ScreenOrientationController());
|
| + screen_layout_observer_.reset(new ScreenLayoutObserver());
|
| #endif
|
| // The compositor thread and main message loop have to be running in
|
| // order to create mirror window. Run it after the main message loop
|
|
|