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

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

Issue 2340213003: Add PageBoundaryRule parameter to columnSetAtBlockOffset(). (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
Index: third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
diff --git a/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp b/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
index e582db42ac3e93b1ef981988cb65be9d05f83b23..92c11a334ddb5d82cf3d8cdcbd4428011ce17853 100644
--- a/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
+++ b/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp
@@ -28,7 +28,7 @@ FragmentainerIterator::FragmentainerIterator(const LayoutFlowThread& flowThread,
}
// Jump to the first interesting column set.
- m_currentColumnSet = flowThread.columnSetAtBlockOffset(m_logicalTopInFlowThread);
+ m_currentColumnSet = flowThread.columnSetAtBlockOffset(m_logicalTopInFlowThread, LayoutBox::AssociateWithLatterPage);
if (!m_currentColumnSet || m_currentColumnSet->logicalTopInFlowThread() >= m_logicalBottomInFlowThread) {
setAtEnd();
return;

Powered by Google App Engine
This is Rietveld 408576698