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 795ca239a216e99c1280e4eaff0747fdef293a11..b2e9118d08431fe7df3091c1cc798ba5bb3ef24b 100644 |
--- a/chrome/browser/ui/views/profiles/new_avatar_button.cc |
+++ b/chrome/browser/ui/views/profiles/new_avatar_button.cc |
@@ -74,7 +74,7 @@ NewAvatarButton::NewAvatarButton(AvatarButtonDelegate* delegate, |
// is larger than this, it will be shrunk to match it. |
// TODO(noms): Calculate this constant algorithmically from the button's size. |
const int kDisplayFontHeight = 16; |
- SetFontList( |
+ label()->SetFontList( |
label()->font_list().DeriveWithHeightUpperBound(kDisplayFontHeight)); |
tapted
2017/04/07 07:49:52
This `DeriveWithHeightUpperBound` method is horrib
Peter Kasting
2017/04/08 01:38:54
Long-term, anywhere that uses this should really p
tapted
2017/04/10 12:27:33
Acknowledged.
|
ui::ResourceBundle* rb = &ui::ResourceBundle::GetSharedInstance(); |