| 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..bffa2d4c74bb7b4dc3d9af50d513607fec211d5e 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().Derive(0, style);
|
| ScopedPangoFontDescription desc(pango_font_description_from_string(
|
| derived_font_list.GetFontDescriptionString().c_str()));
|
|
|
|
|