Index: chrome/browser/ui/cocoa/browser/avatar_button.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/browser/avatar_button.mm (revision 97074) |
+++ chrome/browser/ui/cocoa/browser/avatar_button.mm (working copy) |
@@ -161,8 +161,8 @@ |
// Updates the avatar information from the profile cache. |
- (void)updateAvatar { |
- ProfileInfoInterface& cache = |
- g_browser_process->profile_manager()->GetProfileInfo(); |
+ ProfileInfoCache& cache = |
+ g_browser_process->profile_manager()->GetProfileInfoCache(); |
size_t index = |
cache.GetIndexOfProfileWithPath(browser_->profile()->GetPath()); |
if (index != std::string::npos) { |