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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.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_fragment_base.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
index 0a5000af6c6d7df907ec1c9a2277159f4df624f4..0d51d27c82d19b31efe7b06232c9af1940bb78bf 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
@@ -21,8 +21,7 @@ namespace blink {
// Layout code should only access output layout information through the
// NGFragmentBase classes which transforms information into the logical
// coordinate system.
-class CORE_EXPORT NGPhysicalFragmentBase
- : public GarbageCollected<NGPhysicalFragmentBase> {
+class CORE_EXPORT NGPhysicalFragmentBase {
public:
enum NGFragmentType { FragmentBox = 0, FragmentText = 1 };
@@ -61,9 +60,6 @@ class CORE_EXPORT NGPhysicalFragmentBase
NGMarginStrut MarginStrut() const { return margin_strut_; }
- DEFINE_INLINE_TRACE_AFTER_DISPATCH() {}
- DECLARE_TRACE();
-
protected:
NGPhysicalFragmentBase(NGPhysicalSize size,
NGPhysicalSize overflow,

Powered by Google App Engine
This is Rietveld 408576698