| Index: chrome/browser/chromeos/display/display_configuration_observer.cc
|
| diff --git a/chrome/browser/chromeos/display/display_configuration_observer.cc b/chrome/browser/chromeos/display/display_configuration_observer.cc
|
| index 85b9932a9caa942378680c2a43b90c3b3fadc6d0..a3674c1074d1dd80f12242b390aa1939ee66e4b0 100644
|
| --- a/chrome/browser/chromeos/display/display_configuration_observer.cc
|
| +++ b/chrome/browser/chromeos/display/display_configuration_observer.cc
|
| @@ -4,9 +4,10 @@
|
|
|
| #include "chrome/browser/chromeos/display/display_configuration_observer.h"
|
|
|
| +#include "ash/common/shell_delegate.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/display/window_tree_host_manager.h"
|
| #include "ash/shell.h"
|
| -#include "ash/shell_delegate.h"
|
| #include "chrome/browser/chromeos/display/display_preferences.h"
|
|
|
| namespace chromeos {
|
| @@ -21,7 +22,7 @@ DisplayConfigurationObserver::~DisplayConfigurationObserver() {
|
|
|
| void DisplayConfigurationObserver::OnDisplaysInitialized() {
|
| // Update the display pref with the initial power state.
|
| - if (ash::Shell::GetInstance()->delegate()->IsFirstRunAfterBoot())
|
| + if (ash::WmShell::Get()->delegate()->IsFirstRunAfterBoot())
|
| StoreDisplayPrefs();
|
| }
|
|
|
|
|