Index: Source/core/rendering/RenderTableCaption.h |
diff --git a/Source/core/rendering/RenderTableCaption.h b/Source/core/rendering/RenderTableCaption.h |
index 8af21facc3174a721ea2a78682125c22567d2109..bc3ef8dd002b64876e46f6c5de86fcc797c35332 100644 |
--- a/Source/core/rendering/RenderTableCaption.h |
+++ b/Source/core/rendering/RenderTableCaption.h |
@@ -33,7 +33,7 @@ public: |
virtual LayoutUnit containingBlockLogicalWidthForContent() const override; |
private: |
- virtual bool isTableCaption() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTableCaption || RenderBlockFlow::isOfType(type); } |
virtual void insertedIntoTree() override; |
virtual void willBeRemovedFromTree() override; |