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

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

Issue 2313873002: Initial implementation of Collapsing Margins computational logic for LayoutNG (Closed)
Patch Set: synced to the head Created 4 years, 3 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_fragment.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
index 9951240c8b892fd35251c822fa60c2f78ae768b4..b225795d24ae998e14aba5f93b84c2a6bce0519a 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
@@ -18,8 +18,9 @@ class CORE_EXPORT NGPhysicalFragment final : public NGPhysicalFragmentBase {
// This modifies the passed-in children vector.
NGPhysicalFragment(NGPhysicalSize size,
NGPhysicalSize overflow,
- HeapVector<Member<const NGPhysicalFragmentBase>>& children)
- : NGPhysicalFragmentBase(size, overflow, FragmentBox) {
+ HeapVector<Member<const NGPhysicalFragmentBase>>& children,
+ NGMarginStrut margin_strut)
+ : NGPhysicalFragmentBase(size, overflow, FragmentBox, margin_strut) {
children_.swap(children);
}

Powered by Google App Engine
This is Rietveld 408576698