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 48612f65b6bfb2ac0c6ff3a2e7b15a7409facd76..b3b05d159674dab7c17a3735446b375666d61031 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
@@ -990,14 +990,14 @@ void LayoutTableSection::layout() { |
} |
if (LayoutTableRow* rowLayoutObject = m_grid[r].rowLayoutObject) { |
- if (state.isPaginated()) { |
+ if (state.isPaginated()) |
rowLayoutObject->setLogicalTop(rowLogicalTop); |
- if (!rowLayoutObject->needsLayout()) |
- markChildForPaginationRelayoutIfNeeded(*rowLayoutObject, layouter); |
- } |
+ if (!rowLayoutObject->needsLayout()) |
+ markChildForPaginationRelayoutIfNeeded(*rowLayoutObject, layouter); |
rowLayoutObject->layoutIfNeeded(); |
if (state.isPaginated()) { |
adjustRowForPagination(*rowLayoutObject, layouter); |
+ updateFragmentationInfoForChild(*rowLayoutObject); |
rowLogicalTop = rowLayoutObject->logicalBottom(); |
rowLogicalTop += LayoutUnit(table()->vBorderSpacing()); |
} |
@@ -1204,9 +1204,6 @@ void LayoutTableSection::layoutRows() { |
setLogicalPositionForCell(cell, c); |
- if (!cell->needsLayout()) |
- markChildForPaginationRelayoutIfNeeded(*cell, layouter); |
- |
cell->layoutIfNeeded(); |
LayoutSize childOffset(cell->location() - oldCellRect.location()); |