Chromium Code Reviews| Index: ui/gfx/render_text_linux.cc |
| =================================================================== |
| --- ui/gfx/render_text_linux.cc (revision 150790) |
| +++ ui/gfx/render_text_linux.cc (working copy) |
| @@ -283,7 +283,7 @@ |
| SetupPangoLayoutWithFontDescription(layout_, |
| GetDisplayText(), |
| font_list().GetFontDescriptionString(), |
| - display_rect().width(), |
| + 0, |
|
msw
2012/08/09 19:54:50
Why not continue to pass in the width here? It's a
Alexei Svitkine (slow)
2012/08/09 20:03:01
See the pango_layout_set_width() call below that j
|
| GetTextDirection(), |
| Canvas::DefaultCanvasTextAlignment()); |