| Index: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| index 556e52f3a45835283c9a3c14bb05470a846fba5a..62a2a1578d3ed7a42b5194b6db0c2715fffd2918 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
|
| @@ -216,14 +216,14 @@ float OpenTypeVerticalData::advanceHeight(const SimpleFontData* font, Glyph glyp
|
| }
|
|
|
| // No vertical info in the font file; use height as advance.
|
| - return font->fontMetrics().height();
|
| + return font->getFontMetrics().height();
|
| }
|
|
|
| void OpenTypeVerticalData::getVerticalTranslationsForGlyphs(const SimpleFontData* font, const Glyph* glyphs, size_t count, float* outXYArray) const
|
| {
|
| size_t countWidths = m_advanceWidths.size();
|
| ASSERT(countWidths > 0);
|
| - const FontMetrics& metrics = font->fontMetrics();
|
| + const FontMetrics& metrics = font->getFontMetrics();
|
| float sizePerUnit = font->sizePerUnit();
|
| float ascent = metrics.ascent();
|
| bool useVORG = hasVORG();
|
|
|