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

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

Issue 2389913002: Use paginationStrut() instead of paginationStrutForRow() (Closed)
Patch Set: Created 4 years, 2 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/paint/TableSectionPainter.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.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index 97d67104be9f7a13f5061b983ad7645126912198..9e3aff1c029a906222751313ef8273db7c012289 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -619,8 +619,7 @@ void LayoutTable::layout() {
// Don't include any strut in the header group - we only want the height from its content.
offsetForTableHeaders += section->logicalHeight();
if (LayoutTableRow* row = section->firstRow())
- offsetForTableHeaders -=
- section->paginationStrutForRow(row, section->logicalTop());
+ offsetForTableHeaders -= row->paginationStrut();
state.setHeightOffsetForTableHeaders(offsetForTableHeaders);
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/TableSectionPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698