Chromium Code Reviews| Index: ui/views/controls/styled_label.cc |
| diff --git a/ui/views/controls/styled_label.cc b/ui/views/controls/styled_label.cc |
| index 3909e7f021bacf5b929563543e47e026fe6de421..9c8f720cee179ae03412fa863f526a9638f9f4d1 100644 |
| --- a/ui/views/controls/styled_label.cc |
| +++ b/ui/views/controls/styled_label.cc |
| @@ -99,7 +99,8 @@ const char StyledLabel::kViewClassName[] = "StyledLabel"; |
| StyledLabel::StyledLabel(const base::string16& text, |
| StyledLabelListener* listener) |
| - : specified_line_height_(0), |
| + : font_list_(Label().font_list()), |
|
tapted
2016/03/08 12:25:43
There's an alternative to this in patchset 2 - whi
|
| + specified_line_height_(0), |
| listener_(listener), |
| width_at_last_size_calculation_(0), |
| width_at_last_layout_(0), |