Index: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc |
index 6752c496e63bc1512181bca8990545e7ed0e13de..942a06925803899a3fc8c2f3413dbcf2a48f3200 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc |
@@ -4,6 +4,7 @@ |
#include "core/layout/ng/layout_ng_block_flow.h" |
#include "core/layout/ng/ng_constraint_space.h" |
+#include "core/layout/ng/ng_fragment_base.h" |
#include "core/layout/LayoutAnalyzer.h" |
namespace blink { |
@@ -28,6 +29,11 @@ void LayoutNGBlockFlow::layoutBlock(bool relayoutChildren) { |
NGFragmentBase* fragment; |
while (!m_box->Layout(constraint_space, &fragment)) |
; |
+ |
+ // const HeapLinkedHashSet<WeakMember<NGBlockNode>>& oof_descendants = |
+ // fragment->PhysicalFragment()->OutOfFlowDescendants(); |
ikilpatrick
2016/12/13 18:28:27
why is this commented out?
atotic
2016/12/13 19:19:41
because oops. fixed.
|
+ for (auto& descendant : fragment->PhysicalFragment()->OutOfFlowDescendants()) |
+ descendant->UseOldOutOfFlowPositioning(); |
clearNeedsLayout(); |
} |