| Index: chrome/browser/memory/tab_manager.cc
|
| diff --git a/chrome/browser/memory/tab_manager.cc b/chrome/browser/memory/tab_manager.cc
|
| index 90e8df34a46b5b58e8429535b2048d30a3e5547d..e7d7d39e62ceea7ba8e908cce78179705dcf93c8 100644
|
| --- a/chrome/browser/memory/tab_manager.cc
|
| +++ b/chrome/browser/memory/tab_manager.cc
|
| @@ -54,8 +54,8 @@
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "ash/common/session/session_state_delegate.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/multi_profile_uma.h"
|
| -#include "ash/shell.h"
|
| #include "chrome/browser/memory/tab_manager_delegate_chromeos.h"
|
| #endif
|
|
|
| @@ -384,9 +384,9 @@ void TabManager::RecordDiscardStatistics() {
|
| #if defined(OS_CHROMEOS)
|
| // Record the discarded tab in relation to the amount of simultaneously
|
| // logged in users.
|
| - if (ash::Shell::HasInstance()) {
|
| - ash::MultiProfileUMA::RecordDiscardedTab(ash::Shell::GetInstance()
|
| - ->session_state_delegate()
|
| + if (ash::WmShell::HasInstance()) {
|
| + ash::MultiProfileUMA::RecordDiscardedTab(ash::WmShell::Get()
|
| + ->GetSessionStateDelegate()
|
| ->NumberOfLoggedInUsers());
|
| }
|
| #endif
|
|
|