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 2899bc53beb04101f6b4d49581903d96d20d9a76..0fc9d49cafc14ad97fe78b7df4f5035139b2b455 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
@@ -2067,7 +2067,7 @@ void LayoutTableSection::AdjustRowForPagination(LayoutTableRow& row_object, |
if (!pagination_strut) { |
LayoutUnit page_logical_height = |
PageLogicalHeightForOffset(row_object.LogicalTop()); |
- if (page_logical_height && Table()->Header() && |
+ if (page_logical_height && Table()->Header() && Table()->Header() != this && |
Table()->RowOffsetFromRepeatingHeader()) { |
offset_from_top_of_page = |
page_logical_height - |