Chromium Code Reviews| Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| index 86f0e2a590bb1d60e19fe17f9ee938e53ce65e7b..2bfd6847ec3a7cceb7efe8dd8dfd5fe9ef42ba8c 100644 |
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| @@ -1247,8 +1247,15 @@ views::View* ProfileChooserView::CreateOtherProfilesView( |
| const AvatarMenu::Item& item = avatar_menu_->GetItemAt(index); |
| const int kSmallImageSide = 32; |
| + // Use the low-res, small default avatars in the fast user switcher, like |
| + // we do in the menu bar. |
| + gfx::Image itemIcon; |
| + bool isRectangle; |
|
sky
2015/02/06 01:03:02
You've been writing too match mac code:
item_icon
noms (inactive)
2015/02/06 15:53:38
Eeeeek, losing my mind. Sorry about that. Done!
|
| + AvatarMenu::GetImageForMenuButton( |
| + item.profile_path, &itemIcon, &isRectangle); |
| + |
| gfx::Image image = profiles::GetSizedAvatarIcon( |
| - item.icon, true, kSmallImageSide, kSmallImageSide); |
| + itemIcon, true, kSmallImageSide, kSmallImageSide); |
| views::LabelButton* button = new BackgroundColorHoverButton( |
| this, |