summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/render_text.cc')
-rw-r--r--ui/gfx/render_text.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc
index 7ab7703..d68d7aa 100644
--- a/ui/gfx/render_text.cc
+++ b/ui/gfx/render_text.cc
@@ -339,10 +339,10 @@ void SkiaTextRenderer::DrawDecorations(int x, int y, int width,
SkPaint paint(paint_);
paint.setAntiAlias(true);
paint.setStyle(SkPaint::kFill_Style);
- paint.setStrokeWidth(height);
+ paint.setStrokeWidth(height * 2);
canvas_skia_->drawLine(
- SkIntToScalar(x), SkIntToScalar(y) - text_size + offset,
- SkIntToScalar(x + width), SkIntToScalar(y),
+ SkIntToScalar(x), SkIntToScalar(y),
+ SkIntToScalar(x + width), SkIntToScalar(y) - text_size + offset,
paint);
}
}