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

Unified Diff: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc

Issue 2960233002: [LayoutNG] Move bfc_offset_, end_margin_sturt_ to NGLayoutResult (Closed)
Patch Set: OOF -> OutOfFlow Created 3 years, 6 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/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 efdb2e3779fea0cde1d2e09710141c9307e2b03c..f50fa2c36bc1cae4a490f46ed9935f46e78d3123 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
@@ -41,9 +41,9 @@ void LayoutNGBlockFlow::UpdateBlockLayout(bool relayout_children) {
SetLogicalTop(computed_values.position_);
}
- for (NGBlockNode descendant : result->OutOfFlowDescendants())
- descendant.UseOldOutOfFlowPositioning();
-
+ for (NGOutOfFlowPositionedDescendant descendant :
+ result->OutOfFlowPositionedDescendants())
+ descendant.node.UseOldOutOfFlowPositioning();
}
NGInlineNodeData& LayoutNGBlockFlow::GetNGInlineNodeData() const {

Powered by Google App Engine
This is Rietveld 408576698