Index: chrome/browser/ui/cocoa/browser/avatar_button.mm |
diff --git a/chrome/browser/ui/cocoa/browser/avatar_button.mm b/chrome/browser/ui/cocoa/browser/avatar_button.mm |
index d052fe36649f777724970a5d8875b928fa60fb00..18c843aa909a6cf0c17828d241f4c0c6c4c1b103 100644 |
--- a/chrome/browser/ui/cocoa/browser/avatar_button.mm |
+++ b/chrome/browser/ui/cocoa/browser/avatar_button.mm |
@@ -161,8 +161,8 @@ const CGFloat kMenuYOffsetAdjust = 5.0; |
// Updates the avatar information from the profile cache. |
- (void)updateAvatar { |
- ProfileInfoCache& cache = |
- g_browser_process->profile_manager()->GetProfileInfoCache(); |
+ ProfileInfoInterface& cache = |
+ g_browser_process->profile_manager()->GetProfileInfo(); |
size_t index = |
cache.GetIndexOfProfileWithPath(browser_->profile()->GetPath()); |
if (index != std::string::npos) { |