| 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 480ba5df5597d316a8a5889b7fed1ad655a10851..c433b996e537cde3879b612c2d049272da0c1ff8 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);
|
|
|