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

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

Issue 2365083002: Make NGFragment to own NGPhysicalFragment (Closed)
Patch Set: Created 4 years, 3 months 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_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_;
};

Powered by Google App Engine
This is Rietveld 408576698