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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.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/inline/ng_inline_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc
index 7c6213226c1891fda56372ce1c2bd9b2de66ef62..01b1c7fc548332b29db5b37ffb78975b3bf61c34 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc
@@ -201,10 +201,10 @@ bool NGInlineLayoutAlgorithm::PlaceItems(
container_builder_.AddOutOfFlowDescendant(
// Absolute positioning blockifies the box's display type.
// https://drafts.csswg.org/css-display/#transformations
- NGBlockNode(ToLayoutBox(item.GetLayoutObject())),
- NGStaticPosition::Create(ConstraintSpace().WritingMode(),
- ConstraintSpace().Direction(),
- NGPhysicalOffset()));
+ {NGBlockNode(ToLayoutBox(item.GetLayoutObject())),
+ NGStaticPosition::Create(ConstraintSpace().WritingMode(),
+ ConstraintSpace().Direction(),
+ NGPhysicalOffset())});
continue;
} else {
continue;
« no previous file with comments | « third_party/WebKit/Source/core/layout/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698