Index: Source/core/rendering/svg/RenderSVGRoot.h |
diff --git a/Source/core/rendering/svg/RenderSVGRoot.h b/Source/core/rendering/svg/RenderSVGRoot.h |
index 1ed703a0356caea1f7ace9348202798f37e744b3..01d32e1d8bc17842a22bcd5ed808033a13053052 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; |