| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index e7ccd704a9764de3edfcd358a1d3fc36d5372ca7..cea13a0111b28c5bc5088ca1ef6c9723466abb16 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -537,7 +537,7 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
|
| Profile* profile = Profile::FromWebUI(web_ui());
|
| std::string username = profile->GetProfileUserName();
|
| if (username.empty()) {
|
| - user_manager::User* user =
|
| + const user_manager::User* user =
|
| chromeos::ProfileHelper::Get()->GetUserByProfile(profile);
|
| if (user && (user->GetType() != user_manager::USER_TYPE_GUEST))
|
| username = user->email();
|
|
|