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

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

Issue 2536323003: [LayoutNG] Fix enum values to conform to kEnumName in style guide. (Closed)
Patch Set: rebase. Created 4 years 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.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();

Powered by Google App Engine
This is Rietveld 408576698