Index: Source/core/rendering/svg/RenderSVGRoot.h |
diff --git a/Source/core/rendering/svg/RenderSVGRoot.h b/Source/core/rendering/svg/RenderSVGRoot.h |
index 91da739d8f10eeb71bc3693538be164a7de6ff65..409fee89b7e3e5ca922d089549c7c326a71f8fac 100644 |
--- a/Source/core/rendering/svg/RenderSVGRoot.h |
+++ b/Source/core/rendering/svg/RenderSVGRoot.h |
@@ -74,8 +74,7 @@ private: |
virtual const RenderObjectChildList* virtualChildren() const override { return children(); } |
virtual const char* renderName() const override { return "RenderSVGRoot"; } |
- virtual bool isSVGRoot() const override { return true; } |
- virtual bool isSVG() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVG || type == RenderObjectSVGRoot || RenderReplaced::isOfType(type); } |
virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override; |
virtual LayoutUnit computeReplacedLogicalHeight() const override; |