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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h ('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/ng/ng_physical_box_fragment.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
index d21294d4dcc2132e7d51fb6e5f184e5815a2b99f..6146b2fdba5dec1b1b4d057f46950f8ba50448ae 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
@@ -14,8 +14,6 @@ NGPhysicalBoxFragment::NGPhysicalBoxFragment(
NGPhysicalSize overflow,
Vector<RefPtr<NGPhysicalFragment>>& children,
Vector<NGPositionedFloat>& positioned_floats,
- const WTF::Optional<NGLogicalOffset>& bfc_offset,
- const NGMarginStrut& end_margin_strut,
unsigned border_edges, // NGBorderEdges::Physical
RefPtr<NGBreakToken> break_token)
: NGPhysicalFragment(layout_object,
@@ -23,9 +21,7 @@ NGPhysicalBoxFragment::NGPhysicalBoxFragment(
kFragmentBox,
std::move(break_token)),
overflow_(overflow),
- positioned_floats_(positioned_floats),
- bfc_offset_(bfc_offset),
- end_margin_strut_(end_margin_strut) {
+ positioned_floats_(positioned_floats) {
children_.swap(children);
border_edge_ = border_edges;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698