Index: third_party/WebKit/Source/core/layout/LayoutTable.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h |
index adc7a6be3d99262fb577a9743930eba1a6a9ec7d..09ac5911a0a9a7e58e472106b7f2094866f6b5e8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h |
@@ -144,7 +144,9 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock { |
int hBorderSpacing() const { return m_hSpacing; } |
int vBorderSpacing() const { return m_vSpacing; } |
- bool collapseBorders() const { return style()->borderCollapse(); } |
+ bool collapseBorders() const { |
+ return style()->borderCollapse() == EBorderCollapse::Collapse; |
+ } |
int borderStart() const override { return m_borderStart; } |
int borderEnd() const override { return m_borderEnd; } |