| 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 9ef0d6f167d0355111ad05520d1015979e039367..a174e715635a4b59f6ae79ab9f2c5c4da7e15f1f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| @@ -635,16 +635,12 @@ void LayoutTable::layout() {
|
| if (sectionLogicalHeight <
|
| section->pageLogicalHeightForOffset(section->logicalTop()) &&
|
| section->getPaginationBreakability() != AllowAnyBreaks) {
|
| - LayoutUnit offsetForTableHeaders =
|
| - state.heightOffsetForTableHeaders();
|
| // Don't include any strut in the header group - we only want the
|
| // height from its content.
|
| - offsetForTableHeaders += sectionLogicalHeight;
|
| + LayoutUnit offsetForTableHeaders = sectionLogicalHeight;
|
| if (LayoutTableRow* row = section->firstRow())
|
| offsetForTableHeaders -= row->paginationStrut();
|
| - section->setOffsetForRepeatingHeader(
|
| - state.heightOffsetForTableHeaders());
|
| - state.setHeightOffsetForTableHeaders(offsetForTableHeaders);
|
| + setRowOffsetFromRepeatingHeader(offsetForTableHeaders);
|
| }
|
| }
|
| }
|
|
|