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

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

Issue 2696653003: Avoid unnecessary cell layout on nested percent height tables (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutTableSection.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index 5c0b9f709abc48d4a51a338860def83cb4f00e89..8863e2bafc2384daa21be252b5d4ad37a428441e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -332,6 +332,8 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
bool isRepeatingHeaderGroup() const;
+ void layout() override;
+
protected:
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
bool nodeAtPoint(HitTestResult&,
@@ -346,8 +348,6 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
void willBeRemovedFromTree() override;
- void layout() override;
-
int borderSpacingForRow(unsigned row) const {
return m_grid[row].rowLayoutObject ? table()->vBorderSpacing() : 0;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698