Index: Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h |
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h |
index 3a4de2308d5174d01b479be7501f0073bb50ae78..d99c128c0e564bafc0da7b2a3e7b12105406d612 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h |
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h |
@@ -40,7 +40,7 @@ public: |
float calculateBaselineShift(const SVGRenderStyle&, SVGElement* lengthContext) const; |
float calculateAlignmentBaselineShift(bool isVerticalText, const RenderObject* textRenderer) const; |
float calculateGlyphOrientationAngle(bool isVerticalText, const SVGRenderStyle&, const UChar& character) const; |
- float calculateGlyphAdvanceAndOrientation(bool isVerticalText, SVGTextMetrics&, float angle, float& xOrientationShift, float& yOrientationShift) const; |
+ float calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics&, float angle, float& xOrientationShift, float& yOrientationShift) const; |
private: |
EAlignmentBaseline dominantBaselineToAlignmentBaseline(bool isVerticalText, const RenderObject* textRenderer) const; |