Index: Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
index 03182fa665692fc97255747849dd55d57097486a..3c08b305b88d4e23e6a77199f67d39664fed5635 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
@@ -178,7 +178,7 @@ static inline bool glyphOrientationIsMultiplyOf180Degrees(float orientationAngle |
return !fabsf(fmodf(orientationAngle, 180)); |
} |
-float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const |
+float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const |
{ |
bool orientationIsMultiplyOf180Degrees = glyphOrientationIsMultiplyOf180Degrees(angle); |