Index: Source/core/rendering/svg/RenderSVGInline.h |
diff --git a/Source/core/rendering/svg/RenderSVGInline.h b/Source/core/rendering/svg/RenderSVGInline.h |
index a43d563a1ccd4dabd0616135a2439c67e25e7dbd..6078a727e55a3031afced381e7767b81a77c0a2b 100644 |
--- a/Source/core/rendering/svg/RenderSVGInline.h |
+++ b/Source/core/rendering/svg/RenderSVGInline.h |
@@ -31,8 +31,7 @@ public: |
virtual const char* renderName() const override { return "RenderSVGInline"; } |
virtual LayerType layerTypeRequired() const override final { return NoLayer; } |
- virtual bool isSVGInline() const override final { return true; } |
- virtual bool isSVG() const override final { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVG || type == RenderObjectSVGInline || RenderInline::isOfType(type); } |
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; |