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 73f3eec865d8fba1b874860405aedb6db823d82b..99a62030508db329d3e8417a9fcc0b35cf0dbeee 100644 |
--- a/chrome/browser/ui/views/profiles/new_avatar_button.cc |
+++ b/chrome/browser/ui/views/profiles/new_avatar_button.cc |
@@ -150,7 +150,7 @@ void NewAvatarButton::OnErrorChanged() { |
void NewAvatarButton::UpdateAvatarButtonAndRelayoutParent() { |
// We want the button to resize if the new text is shorter. |
SetText(profiles::GetAvatarButtonTextForProfile(browser_->profile())); |
- set_min_size(gfx::Size()); |
+ SetMinSize(gfx::Size()); |
InvalidateLayout(); |
// Because the width of the button might have changed, the parent browser |