| Index: ash/common/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/common/shelf/shelf_layout_manager.cc b/ash/common/shelf/shelf_layout_manager.cc
|
| index 582cf3f98f8d888698a6ee29e6a88c6b71be15a9..35de24c20de2088de87458b55086224cbc0b5725 100644
|
| --- a/ash/common/shelf/shelf_layout_manager.cc
|
| +++ b/ash/common/shelf/shelf_layout_manager.cc
|
| @@ -156,7 +156,7 @@ ShelfLayoutManager::ShelfLayoutManager(ShelfWidget* shelf_widget,
|
| shelf_background_type_(SHELF_BACKGROUND_OVERLAP) {
|
| DCHECK(shelf_widget_);
|
| DCHECK(wm_shelf_);
|
| - WmShell::Get()->AddShellObserver(this);
|
| + Shell::GetInstance()->AddShellObserver(this);
|
| WmShell::Get()->AddLockStateObserver(this);
|
| Shell::GetInstance()->activation_client()->AddObserver(this);
|
| WmShell::Get()->session_controller()->AddSessionStateObserver(this);
|
| @@ -170,7 +170,7 @@ ShelfLayoutManager::~ShelfLayoutManager() {
|
|
|
| for (auto& observer : observers_)
|
| observer.WillDeleteShelfLayoutManager();
|
| - WmShell::Get()->RemoveShellObserver(this);
|
| + Shell::GetInstance()->RemoveShellObserver(this);
|
| WmShell::Get()->RemoveLockStateObserver(this);
|
| WmShell::Get()->session_controller()->RemoveSessionStateObserver(this);
|
| }
|
|
|