Index: Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngine.cpp b/Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
index fc5dc792329317ece1c8def55a91bacc2098e286..3da7e1f1185a3d3bca063529f829c5e4df77c592 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
+++ b/Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
@@ -56,7 +56,7 @@ SVGTextLayoutEngine::SVGTextLayoutEngine(Vector<SVGTextLayoutAttributes*>& layou |
ASSERT(!m_layoutAttributes.isEmpty()); |
} |
-void SVGTextLayoutEngine::updateCharacerPositionIfNeeded(float& x, float& y) |
+void SVGTextLayoutEngine::updateCharacterPositionIfNeeded(float& x, float& y) |
{ |
if (m_inPathLayout) |
return; |
@@ -502,7 +502,7 @@ void SVGTextLayoutEngine::layoutTextOnLineOrPath(SVGInlineTextBox* textBox, Rend |
float glyphAdvance = baselineLayout.calculateGlyphAdvanceAndOrientation(m_isVerticalText, visualMetrics, orientationAngle, xOrientationShift, yOrientationShift); |
// Assign current text position to x/y values, if needed. |
- updateCharacerPositionIfNeeded(x, y); |
+ updateCharacterPositionIfNeeded(x, y); |
// Apply dx/dy value adjustments to current text position, if needed. |
updateRelativePositionAdjustmentsIfNeeded(data.dx, data.dy); |