Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc |
index 3518e585411fc5c4f44bddd5a91efc5a65b82d5d..eba1dcbf77101f8ca162d4e063dc5d0e1f05a0c7 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc |
@@ -10,14 +10,14 @@ |
namespace blink { |
DEFINE_TRACE(NGPhysicalFragmentBase) { |
- if (Type() == FragmentText) |
+ if (Type() == kFragmentText) |
static_cast<NGPhysicalTextFragment*>(this)->traceAfterDispatch(visitor); |
else |
static_cast<NGPhysicalFragment*>(this)->traceAfterDispatch(visitor); |
} |
void NGPhysicalFragmentBase::finalizeGarbageCollectedObject() { |
- if (Type() == FragmentText) |
+ if (Type() == kFragmentText) |
static_cast<NGPhysicalTextFragment*>(this)->~NGPhysicalTextFragment(); |
else |
static_cast<NGPhysicalFragment*>(this)->~NGPhysicalFragment(); |