Index: Source/core/rendering/svg/RenderSVGForeignObject.h |
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.h b/Source/core/rendering/svg/RenderSVGForeignObject.h |
index 021688f1b86885fea643e71083d73ddcc3b4485e..de1ab40404ebbbf33b605b6338ad5b0889b1ac1f 100644 |
--- a/Source/core/rendering/svg/RenderSVGForeignObject.h |
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.h |
@@ -46,7 +46,7 @@ public: |
virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const override; |
virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override; |
- virtual bool isSVGForeignObject() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGForeignObject || RenderSVGBlock::isOfType(type); } |
virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } |