| Index: chrome/browser/profiles/profile_list_desktop.cc
|
| diff --git a/chrome/browser/profiles/profile_list_desktop.cc b/chrome/browser/profiles/profile_list_desktop.cc
|
| index 21714be1f3244496cf98397b5cc384e773b36e89..a8a3075be4d3b75af795482c2ddd3f63e0d1e67a 100644
|
| --- a/chrome/browser/profiles/profile_list_desktop.cc
|
| +++ b/chrome/browser/profiles/profile_list_desktop.cc
|
| @@ -43,16 +43,7 @@ void ProfileListDesktop::RebuildMenu() {
|
| omitted_item_count_++;
|
| continue;
|
| }
|
| - bool is_gaia_picture =
|
| - profile_info_->IsUsingGAIAPictureOfProfileAtIndex(i) &&
|
| - profile_info_->GetGAIAPictureOfProfileAtIndex(i);
|
| -
|
| gfx::Image icon = profile_info_->GetAvatarIconOfProfileAtIndex(i);
|
| - if (!switches::IsNewProfileManagement()) {
|
| - // The old avatar menu uses resized-small images.
|
| - icon = profiles::GetAvatarIconForMenu(icon, is_gaia_picture);
|
| - }
|
| -
|
| AvatarMenu::Item* item = new AvatarMenu::Item(i - omitted_item_count_,
|
| i,
|
| icon);
|
|
|