Index: Source/core/rendering/svg/RenderSVGGradientStop.h |
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.h b/Source/core/rendering/svg/RenderSVGGradientStop.h |
index 9232ffbf17b8758c0aa733309af0da827de3fa3a..875a2320f2c5a2466099ec0e9d32b97a6a49b1a6 100644 |
--- a/Source/core/rendering/svg/RenderSVGGradientStop.h |
+++ b/Source/core/rendering/svg/RenderSVGGradientStop.h |
@@ -35,8 +35,7 @@ public: |
virtual ~RenderSVGGradientStop(); |
virtual const char* renderName() const OVERRIDE { return "RenderSVGGradientStop"; } |
- virtual bool isSVGGradientStop() const OVERRIDE { return true; } |
- virtual bool isSVG() const OVERRIDE { return true; } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSVG || type == RenderObjectSVGGradientStop || RenderObject::isOfType(type); } |
virtual void layout() OVERRIDE; |