diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-05-17 08:58:16 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-05-17 08:58:16 -0700 |
commit | 09dca88f0da7c89ba4ae519c1c4f123cb0c279ff (patch) | |
tree | fec16ba181a33f3e58587e56ec9a95d3b09afd57 /WebCore | |
parent | d84a638c00a2c66685f37e34ec513bb9c6acf488 (diff) | |
parent | 733e4cfb8b3cae83daff5cc7a426ee901227dbc6 (diff) | |
download | external_webkit-09dca88f0da7c89ba4ae519c1c4f123cb0c279ff.zip external_webkit-09dca88f0da7c89ba4ae519c1c4f123cb0c279ff.tar.gz external_webkit-09dca88f0da7c89ba4ae519c1c4f123cb0c279ff.tar.bz2 |
Merge "Fix focus ring on links with non-latin text"
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/platform/graphics/android/FontAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/FontAndroid.cpp b/WebCore/platform/graphics/android/FontAndroid.cpp index a430b07..e9cf4c8 100644 --- a/WebCore/platform/graphics/android/FontAndroid.cpp +++ b/WebCore/platform/graphics/android/FontAndroid.cpp @@ -188,7 +188,7 @@ FloatRect Font::selectionRectForComplexText(const TextRun& run, SkScalar spacing = paint.getFontMetrics(&metrics); return FloatRect(point.x(), - point.y() - floorf(SkScalarToFloat(-metrics.fAscent)), + point.y(), roundf(SkScalarToFloat(width)), roundf(SkScalarToFloat(spacing))); } |