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

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

Issue 2529073002: No longer store page logical height in LayoutState. (Closed)
Patch Set: Created 4 years, 1 month 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
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 9ae716577e0dd6ffa1862617eff1887fbd144cd2..cb63f2ce4c19a644549fe31cf549e17cdc7e5c95 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -737,7 +737,7 @@ void LayoutTable::layout() {
computeOverflow(clientLogicalBottom());
updateAfterLayout();
- if (state.pageLogicalHeight()) {
+ if (state.isPaginated() && isPageLogicalHeightKnown()) {
m_blockOffsetToFirstRepeatableHeader = state.pageLogicalOffset(
*this, topSection ? topSection->logicalTop() : LayoutUnit());
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutState.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698