Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 4eed4a5f26d8b95605d31eb2525c93ca2937b056..7cac76c9f29152b7051477a50a26338ff75624bd 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -648,7 +648,7 @@ float Font::getGlyphsAndAdvancesForSimpleText(const TextRunPaintInfo& runInfo, G |
float finalRoundingWidth = it.m_finalRoundingWidth; |
it.advance(runInfo.run.length(), &localGlyphBuffer); |
initialAdvance = finalRoundingWidth + it.m_runWidthSoFar - afterWidth; |
- glyphBuffer.reverse(0, glyphBuffer.size()); |
+ glyphBuffer.reverse(); |
} else { |
initialAdvance = beforeWidth; |
} |