Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.h

Issue 2846563002: Optimize collapsed border calculation (step 1) (Closed)
Patch Set: - Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc4eafea4e34e240884c5f1e962804613578a675..8d676e1211d615a0edea744d743cb4d6fad1f26a 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();
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;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698