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

Unified Diff: chrome/browser/profiles/avatar_menu_model.cc

Issue 7622001: Revert 96306 - Multi-Profiles: Change avatar menu to bubble view (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
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model.h ('k') | chrome/browser/profiles/avatar_menu_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/avatar_menu_model.cc
===================================================================
--- chrome/browser/profiles/avatar_menu_model.cc (revision 96308)
+++ chrome/browser/profiles/avatar_menu_model.cc (working copy)
@@ -70,7 +70,7 @@
AvatarMenuModel::Item::~Item() {
}
-void AvatarMenuModel::SwitchToProfile(size_t index) {
+void AvatarMenuModel::SwichToProfile(size_t index) {
const Item& item = GetItemAt(index);
FilePath path = profile_info_->GetPathOfProfileAtIndex(item.model_index);
@@ -119,7 +119,7 @@
items_.push_back(item);
}
- observer_->OnAvatarMenuModelChanged(this);
+ observer_->OnAvatarMenuModelChanged();
}
void AvatarMenuModel::ClearMenu() {
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model.h ('k') | chrome/browser/profiles/avatar_menu_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698