| Index: ui/gfx/render_text_pango.cc
|
| diff --git a/ui/gfx/render_text_pango.cc b/ui/gfx/render_text_pango.cc
|
| index 29f3ffd774b19518f5724ff32b632e27e354b3d8..83c937ebb3b60b2ff0b1e702390eff0ae57d3c41 100644
|
| --- a/ui/gfx/render_text_pango.cc
|
| +++ b/ui/gfx/render_text_pango.cc
|
| @@ -353,7 +353,7 @@ void RenderTextPango::SetupPangoAttributes(PangoLayout* layout) {
|
| const size_t italic_end = styles()[ITALIC].GetRange(italic).end();
|
| const size_t style_end = std::min(bold_end, italic_end);
|
| if (style != font_list().GetFontStyle()) {
|
| - FontList derived_font_list = font_list().DeriveFontList(style);
|
| + FontList derived_font_list = font_list().DeriveWithStyle(style);
|
| ScopedPangoFontDescription desc(pango_font_description_from_string(
|
| derived_font_list.GetFontDescriptionString().c_str()));
|
|
|
|
|