Index: Source/core/rendering/RenderRegion.h |
diff --git a/Source/core/rendering/RenderRegion.h b/Source/core/rendering/RenderRegion.h |
index 1dd2ad2ce36983597c22c7d196730df7543d3e4a..3975e21a6a4540f1372accb8c9dc67cd23c3c351 100644 |
--- a/Source/core/rendering/RenderRegion.h |
+++ b/Source/core/rendering/RenderRegion.h |
@@ -43,7 +43,7 @@ class RenderRegion : public RenderBlockFlow { |
public: |
explicit RenderRegion(Element*, RenderFlowThread*); |
- virtual bool isRenderRegion() const override final { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderRegion || RenderBlockFlow::isOfType(type); } |
void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; } |
LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; } |