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

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

Issue 2521833002: [LayoutNG] Add out-of-flow descendants and offsets to NGPhysicalFragment (Closed)
Patch Set: Fix windows build Created 4 years, 1 month 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 ae3ef86eef4dc3525443e1aca1e619d5ecfe7528..b449be850530d09dd44d1f9576ab6ce806185279 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
@@ -23,7 +23,7 @@ namespace blink {
// NGFragmentBase classes which transforms information into the logical
// coordinate system.
class CORE_EXPORT NGPhysicalFragmentBase
- : public GarbageCollected<NGPhysicalFragmentBase> {
+ : public GarbageCollectedFinalized<NGPhysicalFragmentBase> {
public:
enum NGFragmentType { FragmentBox = 0, FragmentText = 1 };
@@ -63,6 +63,8 @@ class CORE_EXPORT NGPhysicalFragmentBase
DEFINE_INLINE_TRACE_AFTER_DISPATCH() { visitor->trace(break_token_); }
DECLARE_TRACE();
+ void finalizeGarbageCollectedObject();
+
protected:
NGPhysicalFragmentBase(NGPhysicalSize size,
NGPhysicalSize overflow,

Powered by Google App Engine
This is Rietveld 408576698