Index: Source/core/layout/svg/SVGTextLayoutEngineBaseline.h |
diff --git a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h |
index 6ce283171f3cd092ad251ed810e23551fd7b990b..8df8f7d707325e7c366903b6450a3a410f235ee2 100644 |
--- a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h |
+++ b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h |
@@ -27,7 +27,7 @@ namespace blink { |
class Font; |
class LayoutObject; |
-class SVGElement; |
+class LayoutStyle; |
class SVGLayoutStyle; |
class SVGTextMetrics; |
@@ -37,7 +37,7 @@ class SVGTextLayoutEngineBaseline { |
public: |
SVGTextLayoutEngineBaseline(const Font&); |
- float calculateBaselineShift(const SVGLayoutStyle&, SVGElement* lengthContext) const; |
+ float calculateBaselineShift(const LayoutStyle&) const; |
float calculateAlignmentBaselineShift(bool isVerticalText, const LayoutObject* textRenderer) const; |
float calculateGlyphOrientationAngle(bool isVerticalText, const SVGLayoutStyle&, const UChar& character) const; |
float calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics&, float angle, float& xOrientationShift, float& yOrientationShift) const; |