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

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

Issue 2382733002: Introduce markChildForPaginationRelayoutIfNeeded(). (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/Source/core/layout/LayoutTableRow.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2edd3bc3d5ce3847941bc9e303c3a86110b3a4ca..749707bdd5154cb3ca451179f5458a8bef45b93e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -849,7 +849,7 @@ void LayoutTableSection::layout()
if (LayoutTableRow* rowLayoutObject = m_grid[r].rowLayoutObject) {
if (!rowLayoutObject->needsLayout())
- rowLayoutObject->markForPaginationRelayoutIfNeeded(layouter);
+ markChildForPaginationRelayoutIfNeeded(*rowLayoutObject, layouter);
rowLayoutObject->layoutIfNeeded();
}
}
@@ -1087,7 +1087,7 @@ void LayoutTableSection::layoutRows()
setLogicalPositionForCell(cell, c);
if (!cell->needsLayout())
- cell->markForPaginationRelayoutIfNeeded(layouter);
+ markChildForPaginationRelayoutIfNeeded(*cell, layouter);
cell->layoutIfNeeded();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableRow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698