Index: third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
index 5495c46d0f4e0113e515ebde657e2cd233bf9660..7e0e0e37d3b4e9583522fbc3d9ab467eb4405e02 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h |
@@ -21,13 +21,8 @@ class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragmentBase { |
String Text() const { return text_list_->Text(start_offset_, end_offset_); } |
- DEFINE_INLINE_TRACE_AFTER_DISPATCH() { |
- visitor->trace(text_list_); |
- NGPhysicalFragmentBase::traceAfterDispatch(visitor); |
- } |
- |
private: |
- Member<NGLayoutInputText> text_list_; |
+ std::unique_ptr<NGLayoutInputText> text_list_; |
unsigned start_offset_; |
unsigned end_offset_; |
}; |