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

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

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_text_fragment.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
index a619ee133dd55ed2aae038c1ae04d17d4b0f8538..367ede30e47835c823372debc6c104eefbbf4d9c 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
@@ -16,7 +16,7 @@ namespace blink {
class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragmentBase {
public:
NGPhysicalTextFragment(NGPhysicalSize size, NGPhysicalSize overflow)
- : NGPhysicalFragmentBase(size, overflow, FragmentText) {}
+ : NGPhysicalFragmentBase(size, overflow, kFragmentText) {}
DEFINE_INLINE_TRACE_AFTER_DISPATCH() {
NGPhysicalFragmentBase::traceAfterDispatch(visitor);
@@ -26,8 +26,8 @@ class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragmentBase {
DEFINE_TYPE_CASTS(NGPhysicalTextFragment,
NGPhysicalFragmentBase,
text,
- text->Type() == NGPhysicalFragmentBase::FragmentText,
- text.Type() == NGPhysicalFragmentBase::FragmentText);
+ text->Type() == NGPhysicalFragmentBase::kFragmentText,
+ text.Type() == NGPhysicalFragmentBase::kFragmentText);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698