| 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 6d38d2bd6e57b9a4e0a5e160324a48cc45c38dec..d577cd57ff3534015683947dc2852de4e73185f1 100644
|
| --- a/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| @@ -214,8 +214,9 @@ ProfileInfoHandler::GetAccountNameAndIcon() const {
|
| name = base::UTF16ToUTF8(entry->GetName());
|
|
|
| if (entry->IsUsingGAIAPicture() && entry->GetGAIAPicture()) {
|
| - gfx::Image icon =
|
| - profiles::GetAvatarIconForWebUI(entry->GetAvatarIcon(), true);
|
| + constexpr int kAvatarIconSize = 40;
|
| + gfx::Image icon = profiles::GetSizedAvatarIcon(
|
| + entry->GetAvatarIcon(), true, kAvatarIconSize, kAvatarIconSize);
|
| icon_url = webui::GetBitmapDataUrl(icon.AsBitmap());
|
| } else {
|
| icon_url = profiles::GetDefaultAvatarIconUrl(entry->GetAvatarIconIndex());
|
|
|