Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
index f7ef2e236c9daf7dfb89efc16267fb26051ef9a9..e35588f80a7a808daed298f62772a134769b831c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
@@ -72,11 +72,11 @@ NGPhysicalFragment* NGFragmentBuilder::ToFragment() { |
DCHECK_EQ(offsets_.size(), children_.size()); |
NGPhysicalSize physical_size = size_.ConvertToPhysical(writing_mode_); |
- HeapVector<Member<const NGPhysicalFragmentBase>> children; |
+ Vector<const NGPhysicalFragmentBase*> children; |
children.reserveCapacity(children_.size()); |
for (size_t i = 0; i < children_.size(); ++i) { |
- NGPhysicalFragmentBase* child = children_[i].get(); |
+ NGPhysicalFragmentBase* child = children_[i]; |
child->SetOffset(offsets_[i].ConvertToPhysical( |
writing_mode_, direction_, physical_size, child->Size())); |
children.append(child); |