| Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| index a6984492230f86c27f1b85a8eab51ef18ce1fead..cb4a5bd08a1109d59980638aa171cb96bb03f459 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| @@ -10,7 +10,8 @@
|
|
|
| namespace blink {
|
|
|
| -class CORE_EXPORT NGFragmentBuilder final {
|
| +class CORE_EXPORT NGFragmentBuilder final
|
| + : public GarbageCollected<NGFragmentBuilder> {
|
| public:
|
| NGFragmentBuilder(NGFragmentBase::NGFragmentType);
|
|
|
| @@ -31,6 +32,8 @@ class CORE_EXPORT NGFragmentBuilder final {
|
| // Creates the fragment. Can only be called once.
|
| NGFragment* ToFragment();
|
|
|
| + DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(children_); }
|
| +
|
| private:
|
| NGFragmentBase::NGFragmentType type_;
|
| NGWritingMode writing_mode_;
|
| @@ -39,7 +42,7 @@ class CORE_EXPORT NGFragmentBuilder final {
|
| NGLogicalSize size_;
|
| NGLogicalSize overflow_;
|
|
|
| - PersistentHeapVector<Member<const NGFragmentBase>> children_;
|
| + HeapVector<Member<const NGFragmentBase>> children_;
|
| };
|
|
|
| } // namespace blink
|
|
|