| Index: third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp b/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp
|
| index 12c128795ba6116862fdf91eef5ac918b49a4f91..b3eae9234ba126f0ca02c170c3ee49e93d5f322c 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp
|
| @@ -141,7 +141,7 @@ void SimpleFontData::platformInit()
|
| // of the glyph may be truncated when displayed in a 'overflow: hidden' container.
|
| // To avoid that, borrow 1 unit from the ascent when possible.
|
| // FIXME: This can be removed if sub-pixel ascent/descent is supported.
|
| - if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) {
|
| + if (platformData().getFontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) {
|
| ++descent;
|
| --ascent;
|
| }
|
|
|