Chromium Code Reviews| Index: chrome/browser/ui/views/profiles/new_avatar_button.cc |
| diff --git a/chrome/browser/ui/views/profiles/new_avatar_button.cc b/chrome/browser/ui/views/profiles/new_avatar_button.cc |
| index 233c4cc11959c4dfa08dfb920aed395db0782e9f..e0450f608a72f141973272e6616e5934aa185d0f 100644 |
| --- a/chrome/browser/ui/views/profiles/new_avatar_button.cc |
| +++ b/chrome/browser/ui/views/profiles/new_avatar_button.cc |
| @@ -150,12 +150,6 @@ void NewAvatarButton::OnProfileNameChanged( |
| UpdateAvatarButtonAndRelayoutParent(); |
| } |
| -void NewAvatarButton::OnProfileAvatarChanged( |
| - const base::FilePath& profile_path) { |
| - if (browser_->profile()->GetPath() == profile_path) |
|
Mike Lerman
2015/01/27 16:39:16
Why remove this? Don't you want to do the same as
noms (inactive)
2015/01/27 17:02:20
NewAvatarButton only exists for the new profiles U
|
| - UpdateAvatarButtonAndRelayoutParent(); |
| -} |
| - |
| void NewAvatarButton::OnProfileSupervisedUserIdChanged( |
| const base::FilePath& profile_path) { |
| if (browser_->profile()->GetPath() == profile_path) |