Index: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
index f4681d9d0e785dc840cb607ee76a055d8a595ab2..74c16cbc6d91eb072563d18690b3145f9c0df303 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
@@ -1253,15 +1253,7 @@ void LayoutTableSection::layoutRows() { |
int LayoutTableSection::paginationStrutForRow(LayoutTableRow* row, |
LayoutUnit logicalOffset) const { |
DCHECK(row); |
- // Even if the row allows us to break-inside, we will want to put a strut on |
- // the row if we have a header group that wants to appear at the top of each |
- // page. |
- bool tableHeaderForcesStrut = |
- table()->header() |
- ? table()->header()->getPaginationBreakability() != AllowAnyBreaks |
- : false; |
- if (row->getPaginationBreakability() == AllowAnyBreaks && |
- !tableHeaderForcesStrut) |
+ if (row->getPaginationBreakability() == AllowAnyBreaks) |
return 0; |
LayoutUnit pageLogicalHeight = pageLogicalHeightForOffset(logicalOffset); |
if (!pageLogicalHeight) |