| Index: chrome/browser/ui/webui/settings/about_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/about_handler.cc b/chrome/browser/ui/webui/settings/about_handler.cc
|
| index 5d534258e9388434658203cedc1d133cc4f4445a..833edb252fca5f597f8b25db450850c38d544f10 100644
|
| --- a/chrome/browser/ui/webui/settings/about_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/about_handler.cc
|
| @@ -127,7 +127,8 @@ bool CanChangeChannel(Profile* profile) {
|
| const user_manager::User* user =
|
| profile ? chromeos::ProfileHelper::Get()->GetUserByProfile(profile)
|
| : nullptr;
|
| - std::string email = user ? user->email() : std::string();
|
| + std::string email =
|
| + user ? user->GetAccountId().GetUserEmail() : std::string();
|
| size_t at_pos = email.find('@');
|
| if (at_pos != std::string::npos && at_pos + 1 < email.length())
|
| domain = email.substr(email.find('@') + 1);
|
|
|