Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
| index 934d62207f88e3572bc69be4def43f053af8fc5c..6e205f59d19b657080e560714740bac480adadf1 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.cc |
| +++ b/chrome/browser/ui/views/frame/browser_view.cc |
| @@ -477,10 +477,9 @@ bool BrowserView::ShouldShowAvatar() const { |
| return true; |
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles)) { |
| - ProfileInfoCache& cache = |
| - g_browser_process->profile_manager()->GetProfileInfoCache(); |
| - if (cache.GetNumberOfProfiles() > 1) |
| - return true; |
| + // TODO(sail): Once the multi-profile options UI is done we only want to |
| + // show the avatar if hte user has more than one profile. |
|
Miranda Callahan
2011/07/08 14:39:25
nit: I think in the internet age all spellings of
sail
2011/07/08 15:52:06
Done.
|
| + return true; |
| } |
| return false; |