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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h

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/ng_physical_box_fragment.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h
index 176c96dd9e65df3cc6b3cb5c76a038ce468340ff..7e1ec6abc51fc8b52eb55b96309d2f72aacbb524 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h
@@ -22,8 +22,6 @@ class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment {
NGPhysicalSize overflow,
Vector<RefPtr<NGPhysicalFragment>>& children,
Vector<NGPositionedFloat>& positioned_floats,
- const WTF::Optional<NGLogicalOffset>& bfc_offset,
- const NGMarginStrut& end_margin_strut,
unsigned, // NGBorderEdges::Physical
RefPtr<NGBreakToken> break_token = nullptr);
@@ -41,18 +39,10 @@ class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment {
return positioned_floats_;
}
- const WTF::Optional<NGLogicalOffset>& BfcOffset() const {
- return bfc_offset_;
- }
-
- const NGMarginStrut& EndMarginStrut() const { return end_margin_strut_; }
-
private:
NGPhysicalSize overflow_;
Vector<RefPtr<NGPhysicalFragment>> children_;
Vector<NGPositionedFloat> positioned_floats_;
- const WTF::Optional<NGLogicalOffset> bfc_offset_;
- const NGMarginStrut end_margin_strut_;
};
DEFINE_TYPE_CASTS(NGPhysicalBoxFragment,

Powered by Google App Engine
This is Rietveld 408576698