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

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

Issue 2651853002: Deprecate the currently used NGMarginStrut in favor of the new one. (Closed)
Patch Set: git rebase-update Created 3 years, 11 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 2821cdf8fd42c01c3411260cd1f6115537bd23e4..0a9edc26e9eece2dd60a423fa013742e7c330612 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
@@ -24,7 +24,7 @@ class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment {
HeapVector<Member<const NGPhysicalFragment>>& children,
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants,
Vector<NGStaticPosition>& out_of_flow_positions,
- NGMarginStrut margin_strut,
+ NGDeprecatedMarginStrut margin_strut,
HeapVector<Member<NGFloatingObject>>& unpositioned_floats,
HeapVector<Member<NGFloatingObject>>& positioned_floats,
NGBreakToken* break_token = nullptr);
@@ -33,13 +33,13 @@ class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment {
return children_;
}
- NGMarginStrut MarginStrut() const { return margin_strut_; }
+ NGDeprecatedMarginStrut MarginStrut() const { return margin_strut_; }
DECLARE_TRACE_AFTER_DISPATCH();
private:
HeapVector<Member<const NGPhysicalFragment>> children_;
- NGMarginStrut margin_strut_;
+ NGDeprecatedMarginStrut margin_strut_;
};
WILL_NOT_BE_EAGERLY_TRACED_CLASS(NGPhysicalBoxFragment);

Powered by Google App Engine
This is Rietveld 408576698