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 a803b6f9efd7f44136230548ae6626e9e9b9c967..a6ea41f20895f1e328198d7bcf213fbf4f82e08e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTable.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.h |
@@ -416,6 +416,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock { |
return collapsed_borders_; |
} |
void InvalidateCollapsedBorders(); |
+ void InvalidateCollapsedBordersForAllCellsIfNeeded(); |
wkorman
2017/04/27 20:11:15
nit: believe we're not using 'IfNeeded' suffix any
Xianzhu
2017/04/28 20:31:44
This "IfNeeded" is meaningful because the function
wkorman
2017/04/28 21:40:15
Am fine with this.
But for general discussion, I
|
bool HasSections() const { return Header() || Footer() || FirstBody(); } |
@@ -588,6 +589,7 @@ class CORE_EXPORT LayoutTable final : public LayoutBlock { |
// field. |
CollapsedBorderValues collapsed_borders_; |
bool collapsed_borders_valid_ : 1; |
+ bool needs_invalidate_collapsed_borders_for_all_cells_ : 1; |
mutable bool has_col_elements_ : 1; |
mutable bool needs_section_recalc_ : 1; |