Index: Source/core/rendering/svg/RenderSVGViewportContainer.h |
diff --git a/Source/core/rendering/svg/RenderSVGViewportContainer.h b/Source/core/rendering/svg/RenderSVGViewportContainer.h |
index 668a03e6b46af01db81bc6dfef357036bee17383..aa586d72290c14a22003f103667d89448516e459 100644 |
--- a/Source/core/rendering/svg/RenderSVGViewportContainer.h |
+++ b/Source/core/rendering/svg/RenderSVGViewportContainer.h |
@@ -43,7 +43,7 @@ public: |
virtual void paint(PaintInfo&, const LayoutPoint&) override; |
private: |
- virtual bool isSVGViewportContainer() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGViewportContainer || RenderSVGContainer::isOfType(type); } |
virtual const char* renderName() const override { return "RenderSVGViewportContainer"; } |
AffineTransform viewportTransform() const; |