| Index: Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
|
| diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
|
| index 1e299610cbb7ba9026332dba972662645c89dbf3..7e62dc576c1b6ebc3118f4c69ee4619a66be66f7 100644
|
| --- a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
|
| +++ b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
|
| @@ -26,7 +26,7 @@
|
| namespace blink {
|
|
|
| class Font;
|
| -class RenderObject;
|
| +class LayoutObject;
|
| class SVGElement;
|
| class SVGRenderStyle;
|
| class SVGTextMetrics;
|
| @@ -38,12 +38,12 @@ public:
|
| SVGTextLayoutEngineBaseline(const Font&);
|
|
|
| float calculateBaselineShift(const SVGRenderStyle&, SVGElement* lengthContext) const;
|
| - float calculateAlignmentBaselineShift(bool isVerticalText, const RenderObject* textRenderer) const;
|
| + float calculateAlignmentBaselineShift(bool isVerticalText, const LayoutObject* textRenderer) const;
|
| float calculateGlyphOrientationAngle(bool isVerticalText, const SVGRenderStyle&, const UChar& character) const;
|
| float calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics&, float angle, float& xOrientationShift, float& yOrientationShift) const;
|
|
|
| private:
|
| - EAlignmentBaseline dominantBaselineToAlignmentBaseline(bool isVerticalText, const RenderObject* textRenderer) const;
|
| + EAlignmentBaseline dominantBaselineToAlignmentBaseline(bool isVerticalText, const LayoutObject* textRenderer) const;
|
|
|
| const Font& m_font;
|
| };
|
|
|