Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (revision 97074) |
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (working copy) |
@@ -1156,8 +1156,8 @@ |
if (browser_view_->IsOffTheRecord()) { |
avatar_button_->SetIcon(browser_view_->GetOTRAvatarIcon()); |
} else { |
- ProfileInfoInterface& cache = |
- g_browser_process->profile_manager()->GetProfileInfo(); |
+ ProfileInfoCache& cache = |
+ g_browser_process->profile_manager()->GetProfileInfoCache(); |
Profile* profile = browser_view_->browser()->profile(); |
size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath()); |
if (index != std::string::npos) { |