Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index 72d99f31b4075fb7936d68986042a32bdbbf4d35..5b5d9ecc3a6000f93a83a3fe428da3bad37674c8 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -507,8 +507,6 @@ void AutofillDialogViews::AccountChooser::Update() { |
gfx::Image icon = delegate_->AccountChooserImage(); |
image_->SetImage(icon.AsImageSkia()); |
menu_button_->SetText(delegate_->AccountChooserText()); |
- // This allows the button to shrink if the new text is smaller. |
msw
2014/06/09 17:18:39
You can "Call set_min_size(gfx::Size()) to clear t
Elliot Glaysher
2014/06/11 00:27:28
Used set_min_size() at all places where we used to
|
- menu_button_->ClearMaxTextSize(); |
bool show_link = !delegate_->MenuModelForAccountChooser(); |
menu_button_->SetVisible(!show_link); |