| Index: chrome/browser/metrics/chromeos_metrics_provider.cc
|
| diff --git a/chrome/browser/metrics/chromeos_metrics_provider.cc b/chrome/browser/metrics/chromeos_metrics_provider.cc
|
| index ef732c016ce1e2f52b8a95e2ba27fd92320e030f..ae84844fd79ea3d8f896c6b016c197aef0a8c3df 100644
|
| --- a/chrome/browser/metrics/chromeos_metrics_provider.cc
|
| +++ b/chrome/browser/metrics/chromeos_metrics_provider.cc
|
| @@ -131,7 +131,7 @@ void ChromeOSMetricsProvider::OnDidCreateMetricsLog() {
|
| if (chromeos::UserManager::IsInitialized()) {
|
| registered_user_count_at_log_initialization_ = true;
|
| user_count_at_log_initialization_ =
|
| - chromeos::UserManager::Get()->GetLoggedInUsers().size();
|
| + chromeos::GetUserManager()->GetLoggedInUsers().size();
|
| }
|
| }
|
|
|
| @@ -270,7 +270,7 @@ void ChromeOSMetricsProvider::WriteBluetoothProto(
|
| void ChromeOSMetricsProvider::UpdateMultiProfileUserCount(
|
| metrics::SystemProfileProto* system_profile_proto) {
|
| if (chromeos::UserManager::IsInitialized()) {
|
| - size_t user_count = chromeos::UserManager::Get()->GetLoggedInUsers().size();
|
| + size_t user_count = chromeos::GetUserManager()->GetLoggedInUsers().size();
|
|
|
| // We invalidate the user count if it changed while the log was open.
|
| if (registered_user_count_at_log_initialization_ &&
|
|
|