| Index: chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/profile_info_handler.cc b/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| index 03e9d1cd64639849819ca7185ea77b371c917d10..2acd3c5944ae336f3c84a46018cea0d340921efd 100644
|
| --- a/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| @@ -145,7 +145,7 @@ ProfileInfoHandler::GetAccountNameAndIcon() const {
|
| const user_manager::User* user =
|
| chromeos::ProfileHelper::Get()->GetUserByProfile(profile_);
|
| if (user && (user->GetType() != user_manager::USER_TYPE_GUEST))
|
| - name = user->email();
|
| + name = user->GetAccountId().GetUserEmail();
|
| }
|
| if (!name.empty())
|
| name = gaia::SanitizeEmail(gaia::CanonicalizeEmail(name));
|
|
|