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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp

Issue 1765933003: style: Rename the PseudoId enum values to CamelCase and prefix them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-clash-PseudoId: none Created 4 years, 9 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/LayoutTreeAsText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
index 00282c7f73a27b9d2299475069124c464f2a2432..4b40c57fcddc4d60bcb2e82b76d4126cf9d7bc5b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
@@ -831,9 +831,9 @@ String counterValueForElement(Element* element)
TextStream stream;
bool isFirstCounter = true;
// The counter layoutObjects should be children of :before or :after pseudo-elements.
- if (LayoutObject* before = element->pseudoElementLayoutObject(BEFORE))
+ if (LayoutObject* before = element->pseudoElementLayoutObject(PseudoIdBefore))
writeCounterValuesFromChildren(stream, before, isFirstCounter);
- if (LayoutObject* after = element->pseudoElementLayoutObject(AFTER))
+ if (LayoutObject* after = element->pseudoElementLayoutObject(PseudoIdAfter))
writeCounterValuesFromChildren(stream, after, isFirstCounter);
return stream.release();
}

Powered by Google App Engine
This is Rietveld 408576698