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

Unified Diff: Source/core/layout/LayoutState.h

Issue 1021143004: [New Multicolumn] Don't return the wrong flow thread from locateFlowThreadContainingBlock(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « Source/core/layout/LayoutListItem.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutState.h
diff --git a/Source/core/layout/LayoutState.h b/Source/core/layout/LayoutState.h
index 06527f70480c1a48b621f4255b9138840610a495..a227950f45f7f8c4ce407952fae60982de8cdaa7 100644
--- a/Source/core/layout/LayoutState.h
+++ b/Source/core/layout/LayoutState.h
@@ -75,6 +75,9 @@ public:
LayoutFlowThread* flowThread() const { return m_flowThread; }
+ // Used to temporarily set m_flowThread to nullptr. Needed because of crbug.com/370461 (list item markers).
+ void setFlowThread(LayoutFlowThread* flowThread) { m_flowThread = flowThread; }
+
ColumnInfo* columnInfo() const { return m_columnInfo; }
LayoutObject& layoutObject() const { return m_renderer; }
« no previous file with comments | « Source/core/layout/LayoutListItem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698