Index: Source/core/rendering/svg/RenderSVGTextPath.h |
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.h b/Source/core/rendering/svg/RenderSVGTextPath.h |
index dc76587d4912f10970f6b9441269eb12f28f2f7f..3444a4cf559cb4db0985d82a32a9fb506c845099 100644 |
--- a/Source/core/rendering/svg/RenderSVGTextPath.h |
+++ b/Source/core/rendering/svg/RenderSVGTextPath.h |
@@ -34,7 +34,7 @@ public: |
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; |
- virtual bool isSVGTextPath() const OVERRIDE { return true; } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSVGTextPath || RenderSVGInline::isOfType(type); } |
private: |
virtual const char* renderName() const OVERRIDE { return "RenderSVGTextPath"; } |