Index: Source/core/rendering/RenderTableCaption.h |
diff --git a/Source/core/rendering/RenderTableCaption.h b/Source/core/rendering/RenderTableCaption.h |
index 1a416fcd22253b07bd9340a9450157254fe1aaef..ce25abbec880aca8e94581ed30875b78fba93ad6 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; |