| Index: chrome/browser/ui/cocoa/browser_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| index c3de07b3422063780a43bf54af0681a1c61a5310..2d62caa2db4052dd97d73d90aa3f544c9353a468 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| @@ -1372,10 +1372,9 @@ enum {
|
|
|
| ProfileInfoCache& cache =
|
| g_browser_process->profile_manager()->GetProfileInfoCache();
|
| - if (cache.GetIndexOfProfileWithPath(browser_->profile()->GetPath()) ==
|
| - std::string::npos) {
|
| + ProfileInfoEntry entry;
|
| + if (!cache.GetInfoForProfile(browser_->profile()->GetPath(), &entry))
|
| return NO;
|
| - }
|
|
|
| return AvatarMenuModel::ShouldShowAvatarMenu();
|
| }
|
|
|