| Index: ui/gfx/render_text_linux.cc
|
| diff --git a/ui/gfx/render_text_linux.cc b/ui/gfx/render_text_linux.cc
|
| index 9ad2a3df4a0491c45f1969aa58387bf00dec639c..11bc4872e54db8216dd9c2d55ce65fe04ffd9e6e 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());
|
|
|