Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: chrome/browser/ui/views/frame/glass_browser_frame_view.cc

Issue 7711002: This changes ProfileManager::GetProfileInfoCache() to be GetProfileInfo() and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/glass_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
index 91a4d33200bb86c5ad9a19336e38835080597c52..b6c8caef11dce00333697748445c27633012a1a3 100644
--- a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
@@ -585,8 +585,8 @@ void GlassBrowserFrameView::UpdateAvatarInfo() {
if (browser_view_->IsOffTheRecord()) {
avatar_button_->SetIcon(browser_view_->GetOTRAvatarIcon());
} else {
- ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ ProfileInfoInterface& cache =
+ g_browser_process->profile_manager()->GetProfileInfo();
Profile* profile = browser_view_->browser()->profile();
size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath());
if (index != std::string::npos) {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698