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

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

Issue 2516463003: If an object's containing block is in a flow thread, so is the object. (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
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/relayout-abspos.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/LayoutState.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.cpp b/third_party/WebKit/Source/core/layout/LayoutState.cpp
index 53c60e6e72c9106ccae8a8dc5c95d6f8ebaf3679..f3510951de593dd49d0c9924caeac2baefdf45ba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp
@@ -52,10 +52,8 @@ LayoutState::LayoutState(LayoutBox& layoutObject,
m_layoutObject(layoutObject) {
if (layoutObject.isLayoutFlowThread())
m_flowThread = toLayoutFlowThread(&layoutObject);
- else if (!layoutObject.isOutOfFlowPositioned())
- m_flowThread = m_next->flowThread();
else
- m_flowThread = nullptr;
+ m_flowThread = m_next->flowThread();
m_paginationStateChanged = m_next->m_paginationStateChanged;
layoutObject.view()->pushLayoutState(*this);
m_heightOffsetForTableHeaders = m_next->heightOffsetForTableHeaders();
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/relayout-abspos.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698