Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
index 3f2ce386cb94608935e7daa87f571b185edc43a6..7f986609432d360c519d551ba5a5790c9d635c59 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
@@ -827,7 +827,7 @@ SystemTrayDelegateChromeOS::GetUserAccountsDelegate( |
const std::string& user_id) { |
if (!accounts_delegates_.contains(user_id)) { |
const user_manager::User* user = UserManager::Get()->FindUser(user_id); |
- Profile* user_profile = ProfileHelper::Get()->GetProfileByUser(user); |
+ Profile* user_profile = ProfileHelper::Get()->GetProfileByUserUnsafe(user); |
CHECK(user_profile); |
accounts_delegates_.set( |
user_id, |