Index: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp |
index 1e5daf32a167daaec3c90cf18686656a852d7607..a364f530a2c874469c940f6c9987067c2e6c9016 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.cpp |
@@ -386,6 +386,9 @@ hb_font_t* HarfBuzzFace::getScaledFont( |
m_harfBuzzFontData->m_paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); |
m_harfBuzzFontData->m_rangeSet = rangeSet; |
m_harfBuzzFontData->updateSimpleFontData(m_platformData); |
+ |
+ // TODO crbug.com/674879 - Connect variation axis parameters to future |
+ // HarfBuzz API here. |
ASSERT(m_harfBuzzFontData->m_simpleFontData); |
int scale = SkiaScalarToHarfBuzzPosition(m_platformData->size()); |
hb_font_set_scale(m_unscaledFont, scale, scale); |