| 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 17f8fc7fe679ce14d1fde74df9eff660f0446d52..f2b9fabf885a598e8bfc6078fb39cc74f8121772 100644
|
| --- a/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| @@ -209,7 +209,7 @@ ProfileInfoHandler::GetAccountNameAndIcon() const {
|
| // TODO(crbug.com/710660): return chrome://theme/IDR_PROFILE_AVATAR_*
|
| // and update theme_source.cc to get high res avatar icons. This does less
|
| // work here, sends less over IPC, and is more stable with returned results.
|
| - constexpr int kAvatarIconSize = 40;
|
| + int kAvatarIconSize = 40.f * web_ui()->GetDeviceScaleFactor();
|
| gfx::Image icon = profiles::GetSizedAvatarIcon(
|
| entry->GetAvatarIcon(), true, kAvatarIconSize, kAvatarIconSize);
|
| icon_url = webui::GetBitmapDataUrl(icon.AsBitmap());
|
|
|