| 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 0b7b45afe11cf6040a3b3d585b4865dd0909667b..160c44fccb1ca4e94fccd6885a76a2a813d6686d 100644
|
| --- a/chrome/browser/ui/views/profiles/new_avatar_button.cc
|
| +++ b/chrome/browser/ui/views/profiles/new_avatar_button.cc
|
| @@ -70,7 +70,8 @@ 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(GetFontList().DeriveWithHeightUpperBound(kDisplayFontHeight));
|
| + SetFontList(
|
| + label()->font_list().DeriveWithHeightUpperBound(kDisplayFontHeight));
|
|
|
| ui::ResourceBundle* rb = &ui::ResourceBundle::GetSharedInstance();
|
| if (button_style == AvatarButtonStyle::THEMED) {
|
|
|