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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_input_text.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_layout_input_text.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_text.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_text.h
index 3b645bb702c446e27c8ee106d39e151208db70c4..cc615dbd817817faeb6167e5f0149771aa902b90 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_text.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_text.h
@@ -39,8 +39,7 @@ struct NGLayoutInputTextItem {
// The content is stored as a single string with collapsed white-space (if
// applicable) to allow cross-element shaping. Each item contains a start and
// end offset representing the content of said item.
-class CORE_EXPORT NGLayoutInputText final
- : public GarbageCollectedFinalized<NGLayoutInputText> {
+class CORE_EXPORT NGLayoutInputText final {
public:
using const_iterator = Vector<NGLayoutInputTextItem>::const_iterator;
@@ -53,8 +52,6 @@ class CORE_EXPORT NGLayoutInputText final
return text_.substring(start_offset, end_offset);
}
- DEFINE_INLINE_TRACE() {}
-
private:
// TODO(eae): This should probably always be utf-8 to reduce the
// memory and conversion overhead. We can't really re-use the

Powered by Google App Engine
This is Rietveld 408576698