Index: Source/core/rendering/svg/RenderSVGTextPath.h |
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.h b/Source/core/rendering/svg/RenderSVGTextPath.h |
index ff05a249b784f1a634a80a33db1f46c49295a6c1..02c96e1b6175769036f9bb7244fddf24fa5b78eb 100644 |
--- a/Source/core/rendering/svg/RenderSVGTextPath.h |
+++ b/Source/core/rendering/svg/RenderSVGTextPath.h |
@@ -32,9 +32,9 @@ public: |
Path layoutPath() const; |
float startOffset() const; |
- virtual bool isChildAllowed(RenderObject*, const RenderStyle&) const override; |
+ virtual bool isChildAllowed(LayoutObject*, const RenderStyle&) const override; |
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGTextPath || RenderSVGInline::isOfType(type); } |
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGTextPath || RenderSVGInline::isOfType(type); } |
private: |
virtual const char* renderName() const override { return "RenderSVGTextPath"; } |
@@ -42,7 +42,7 @@ private: |
Path m_layoutPath; |
}; |
-DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGTextPath, isSVGTextPath()); |
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGTextPath, isSVGTextPath()); |
} |