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

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

Issue 2274683002: Don't skip column set interval tree search for flow thread offset == 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/LayoutTests/fast/multicol/span/offset-properties-empty-content.html ('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/LayoutMultiColumnFlowThread.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp b/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp
index f5ffc24d23a67de54242fc8159fadfca3ca86669..0072f691c51d6eec3b9d6e71117e7c45b31444e6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp
@@ -395,7 +395,7 @@ LayoutMultiColumnSet* LayoutMultiColumnFlowThread::columnSetAtBlockOffset(Layout
ASSERT(!m_columnSetsInvalidated);
if (m_multiColumnSetList.isEmpty())
return nullptr;
- if (offset <= 0)
+ if (offset < LayoutUnit())
return m_multiColumnSetList.first();
MultiColumnSetSearchAdapter adapter(offset);
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/multicol/span/offset-properties-empty-content.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698