| Index: ui/gfx/render_text_pango.cc
|
| diff --git a/ui/gfx/render_text_pango.cc b/ui/gfx/render_text_pango.cc
|
| index a126926461720aa771db13c3457180a4dae3ec2a..d19dc84c8d655a7231b4a394d49f282cf1866b9d 100644
|
| --- a/ui/gfx/render_text_pango.cc
|
| +++ b/ui/gfx/render_text_pango.cc
|
| @@ -307,12 +307,8 @@ void RenderTextPango::EnsureLayout() {
|
| cairo_destroy(cr);
|
| cairo_surface_destroy(surface);
|
|
|
| - SetupPangoLayoutWithFontDescription(layout_,
|
| - GetLayoutText(),
|
| - font_list().GetFontDescriptionString(),
|
| - 0,
|
| - GetTextDirection(),
|
| - Canvas::DefaultCanvasTextAlignment());
|
| + SetUpPangoLayout(layout_, GetLayoutText(), font_list(), GetTextDirection(),
|
| + Canvas::DefaultCanvasTextAlignment());
|
|
|
| // No width set so that the x-axis position is relative to the start of the
|
| // text. ToViewPoint and ToTextPoint take care of the position conversion
|
|
|