| Index: chrome/browser/chromeos/profiles/profile_list_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/profiles/profile_list_chromeos.cc b/chrome/browser/chromeos/profiles/profile_list_chromeos.cc
|
| index 5860dda9cb329cd9c6c1b5f244335fcb072ba503..4091b2f72d5b8dc5484429b06ded2037f90c2349 100644
|
| --- a/chrome/browser/chromeos/profiles/profile_list_chromeos.cc
|
| +++ b/chrome/browser/chromeos/profiles/profile_list_chromeos.cc
|
| @@ -52,7 +52,7 @@ void ProfileListChromeOS::RebuildMenu() {
|
|
|
| gfx::Image icon = gfx::Image((*it)->GetImage());
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kNewProfileManagement)) {
|
| + switches::kNewProfileManagement) && !icon.IsEmpty()) {
|
| // old avatar menu uses resized-small images
|
| icon = profiles::GetAvatarIconForMenu(icon, true);
|
| }
|
|
|