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

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

Issue 2540653003: Implement collection of out-of-flow descendants (Closed)
Patch Set: Merge conflicts resolved Created 4 years 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 de0a662ad5477d040af68dd3d1535dddb176f4b1..229a88a64075f43421699fb42910982fc61639aa 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
@@ -22,7 +22,7 @@ class CORE_EXPORT NGPhysicalFragment final : public NGPhysicalFragmentBase {
NGPhysicalSize overflow,
HeapVector<Member<const NGPhysicalFragmentBase>>& children,
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants,
- Vector<NGLogicalOffset> out_of_flow_offsets,
+ Vector<NGStaticPosition>& out_of_flow_positions,
NGMarginStrut margin_strut);
const HeapVector<Member<const NGPhysicalFragmentBase>>& Children() const {
@@ -34,8 +34,8 @@ class CORE_EXPORT NGPhysicalFragment final : public NGPhysicalFragmentBase {
return out_of_flow_descendants_;
}
- const Vector<NGLogicalOffset>& OutOfFlowOffsets() const {
- return out_of_flow_offsets_;
+ const Vector<NGStaticPosition>& OutOfFlowPositions() const {
+ return out_of_flow_positions_;
}
NGMarginStrut MarginStrut() const { return margin_strut_; }
@@ -45,7 +45,7 @@ class CORE_EXPORT NGPhysicalFragment final : public NGPhysicalFragmentBase {
private:
HeapVector<Member<const NGPhysicalFragmentBase>> children_;
HeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_;
- Vector<NGLogicalOffset> out_of_flow_offsets_;
+ Vector<NGStaticPosition> out_of_flow_positions_;
NGMarginStrut margin_strut_;
};

Powered by Google App Engine
This is Rietveld 408576698