Index: chrome/browser/chromeos/login/signin/auth_sync_observer.cc |
diff --git a/chrome/browser/chromeos/login/signin/auth_sync_observer.cc b/chrome/browser/chromeos/login/signin/auth_sync_observer.cc |
index 83d8b649c678e68a3f8b4ae66b83a85d495e3e40..6cd4e76f60fedb93728b9bf918b876a8b74a2c59 100644 |
--- a/chrome/browser/chromeos/login/signin/auth_sync_observer.cc |
+++ b/chrome/browser/chromeos/login/signin/auth_sync_observer.cc |
@@ -48,7 +48,8 @@ void AuthSyncObserver::OnStateChanged() { |
user_manager::UserManager::Get()->IsLoggedInAsSupervisedUser()); |
ProfileSyncService* sync_service = |
ProfileSyncServiceFactory::GetForProfile(profile_); |
- user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile_); |
+ const user_manager::User* user = |
+ ProfileHelper::Get()->GetUserByProfile(profile_); |
GoogleServiceAuthError::State state = |
sync_service->GetAuthError().state(); |
if (state != GoogleServiceAuthError::NONE && |