Index: Source/platform/fonts/WidthIterator.cpp |
diff --git a/Source/platform/fonts/WidthIterator.cpp b/Source/platform/fonts/WidthIterator.cpp |
index 83c675df992b221caa23395218f21ff3955a31a2..772fdb9a7132a50b4b00a11c33560a82c5c0f363 100644 |
--- a/Source/platform/fonts/WidthIterator.cpp |
+++ b/Source/platform/fonts/WidthIterator.cpp |
@@ -109,7 +109,7 @@ static inline float applyFontTransforms(GlyphBuffer* glyphBuffer, bool ltr, unsi |
if (glyphBuffer->size() <= lastGlyphCount + 1) |
return 0; |
- GlyphBufferAdvance* advances = glyphBuffer->advances(0); |
+ FloatSize* advances = glyphBuffer->advances(0); |
float widthDifference = 0; |
for (unsigned i = lastGlyphCount; i < glyphBufferSize; ++i) |
widthDifference -= advances[i].width(); |