| Index: ui/gfx/render_text_linux.cc
|
| diff --git a/ui/gfx/render_text_linux.cc b/ui/gfx/render_text_linux.cc
|
| index c6cf4f22375585b8b2632a2d3bc40e29700a1c2a..7986b51c22508c32de8d1d37eaf8e73dbc3ffaa6 100644
|
| --- a/ui/gfx/render_text_linux.cc
|
| +++ b/ui/gfx/render_text_linux.cc
|
| @@ -376,7 +376,7 @@ void RenderTextLinux::DrawVisualText(Canvas* canvas) {
|
| DCHECK(layout_);
|
|
|
| // Skia will draw glyphs with respect to the baseline.
|
| - Vector2d offset(GetTextOffset() + Vector2d(0, GetBaseline()));
|
| + Vector2d offset(GetLineOffset(0) + Vector2d(0, GetBaseline()));
|
|
|
| SkScalar x = SkIntToScalar(offset.x());
|
| SkScalar y = SkIntToScalar(offset.y());
|
|
|