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_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc |
similarity index 51% |
copy from third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
copy to third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc |
index 2a7cf51aa15163e4c05b41159a9ce1cde017c1d1..f5e2c4169d8f24b50a07fe9b362bcf1baa3f8351 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc |
@@ -2,29 +2,29 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "core/layout/ng/ng_physical_fragment.h" |
+#include "core/layout/ng/ng_physical_box_fragment.h" |
namespace blink { |
-NGPhysicalFragment::NGPhysicalFragment( |
+NGPhysicalBoxFragment::NGPhysicalBoxFragment( |
NGPhysicalSize size, |
NGPhysicalSize overflow, |
- HeapVector<Member<const NGPhysicalFragmentBase>>& children, |
+ HeapVector<Member<const NGPhysicalFragment>>& children, |
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants, |
Vector<NGStaticPosition>& out_of_flow_positions, |
NGMarginStrut margin_strut) |
- : NGPhysicalFragmentBase(size, |
- overflow, |
- kFragmentBox, |
- out_of_flow_descendants, |
- out_of_flow_positions), |
+ : NGPhysicalFragment(size, |
+ overflow, |
+ kFragmentBox, |
+ out_of_flow_descendants, |
+ out_of_flow_positions), |
margin_strut_(margin_strut) { |
children_.swap(children); |
} |
-DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalFragment) { |
+DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalBoxFragment) { |
visitor->trace(children_); |
- NGPhysicalFragmentBase::traceAfterDispatch(visitor); |
+ NGPhysicalFragment::traceAfterDispatch(visitor); |
} |
} // namespace blink |