Index: Source/core/rendering/RenderTableSection.h |
diff --git a/Source/core/rendering/RenderTableSection.h b/Source/core/rendering/RenderTableSection.h |
index f87164256da1abb398944a6c6ceb01ec12b8212c..004e22cf14b7eab44a791b27b930eac83095e06d 100644 |
--- a/Source/core/rendering/RenderTableSection.h |
+++ b/Source/core/rendering/RenderTableSection.h |
@@ -245,7 +245,7 @@ private: |
virtual const char* renderName() const OVERRIDE { return (isAnonymous() || isPseudoElement()) ? "RenderTableSection (anonymous)" : "RenderTableSection"; } |
- virtual bool isTableSection() const OVERRIDE { return true; } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectTableSection || RenderBox::isOfType(type); } |
virtual void willBeRemovedFromTree() OVERRIDE; |