Index: chrome/browser/profiles/avatar_menu_model.cc |
diff --git a/chrome/browser/profiles/avatar_menu_model.cc b/chrome/browser/profiles/avatar_menu_model.cc |
index 512c1ceca05c0eacfbe176fcf1b8a4a6e916255c..408728d303a43b2d098c7c2729783d7eb8bebab4 100644 |
--- a/chrome/browser/profiles/avatar_menu_model.cc |
+++ b/chrome/browser/profiles/avatar_menu_model.cc |
@@ -70,7 +70,7 @@ AvatarMenuModel::Item::Item(size_t model_index, const gfx::Image& icon) |
AvatarMenuModel::Item::~Item() { |
} |
-void AvatarMenuModel::SwichToProfile(size_t index) { |
+void AvatarMenuModel::SwitchToProfile(size_t index) { |
const Item& item = GetItemAt(index); |
FilePath path = profile_info_->GetPathOfProfileAtIndex(item.model_index); |
@@ -119,7 +119,7 @@ void AvatarMenuModel::RebuildMenu() { |
items_.push_back(item); |
} |
- observer_->OnAvatarMenuModelChanged(); |
+ observer_->OnAvatarMenuModelChanged(this); |
} |
void AvatarMenuModel::ClearMenu() { |