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

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

Issue 2692083002: 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 52e5d5dc844c3b0fa61fe1717e71fe800053be86..06a81468a37d561d892d37a99e320ce0da8b86f5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -329,6 +329,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&,
@@ -343,8 +345,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