| Index: ui/views/controls/button/label_button.cc
|
| diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
|
| index 4a7cfd912fab2b1bdd0ce463176fc6b501408a15..e4034cc3b353e81e55b736d87a5d82250c7d9d88 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -237,7 +237,7 @@ gfx::Size LabelButton::GetPreferredSize() const {
|
| return cached_preferred_size_;
|
|
|
| // Use a temporary label copy for sizing to avoid calculation side-effects.
|
| - Label label(GetText(), label_->font_list());
|
| + Label label(GetText(), Label::CustomFont{label_->font_list()});
|
| label.SetShadows(label_->shadows());
|
|
|
| if (style_ == STYLE_BUTTON && PlatformStyle::kDefaultLabelButtonHasBoldFont) {
|
|
|