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

Unified Diff: chrome/browser/ui/views/infobars/translate_infobar_base.cc

Issue 298813002: views: Move MenuButton from TextButton to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove stray LOG Created 6 years, 6 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
Index: chrome/browser/ui/views/infobars/translate_infobar_base.cc
diff --git a/chrome/browser/ui/views/infobars/translate_infobar_base.cc b/chrome/browser/ui/views/infobars/translate_infobar_base.cc
index 453e4e425275ae209a816a922b6d5fc249a3e586..7c06019ce96da88dcbfbe3f6633a1192832db28a 100644
--- a/chrome/browser/ui/views/infobars/translate_infobar_base.cc
+++ b/chrome/browser/ui/views/infobars/translate_infobar_base.cc
@@ -48,7 +48,6 @@ void TranslateInfoBarBase::UpdateLanguageButtonText(
const base::string16& text) {
DCHECK(button);
button->SetText(text);
- button->ClearMaxTextSize();
msw 2014/06/09 17:18:40 ditt: call set_min_size(gfx::Size())
button->SizeToPreferredSize();
Layout();
SchedulePaint();

Powered by Google App Engine
This is Rietveld 408576698