Index: chrome/browser/ui/views/frame/global_menu_bar_x11.cc |
diff --git a/chrome/browser/ui/views/frame/global_menu_bar_x11.cc b/chrome/browser/ui/views/frame/global_menu_bar_x11.cc |
index decb965ae044796d6c9fc2addd9ba5dc17e1b3e7..cff60bb07d5221524126933caf71da77012c0ee3 100644 |
--- a/chrome/browser/ui/views/frame/global_menu_bar_x11.cc |
+++ b/chrome/browser/ui/views/frame/global_menu_bar_x11.cc |
@@ -19,7 +19,6 @@ |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/history/top_sites_factory.h" |
#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/profiles/profile_info_cache.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/profiles/profile_window.h" |
#include "chrome/browser/sessions/tab_restore_service_factory.h" |
@@ -442,7 +441,7 @@ void GlobalMenuBarX11::InitServer(unsigned long xid) { |
ProfileManager* profile_manager = g_browser_process->profile_manager(); |
DCHECK(profile_manager); |
avatar_menu_.reset(new AvatarMenu( |
- &profile_manager->GetProfileInfoCache(), this, nullptr)); |
+ &profile_manager->GetProfileAttributesStorage(), this, nullptr)); |
avatar_menu_->RebuildMenu(); |
BrowserList::AddObserver(this); |