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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHighlight.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/inspector/InspectorHighlight.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
index b587656e86dc5a1afbba46388dcbed2f0db77131..fe1bb13ff50fee7f66b8eb0042bf9b5c2d8f6846 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
@@ -189,9 +189,9 @@ PassOwnPtr<protocol::DictionaryValue> buildElementInfo(Element* element)
}
}
if (pseudoElement) {
- if (pseudoElement->getPseudoId() == BEFORE)
+ if (pseudoElement->getPseudoId() == PseudoIdBefore)
classNames.appendLiteral("::before");
- else if (pseudoElement->getPseudoId() == AFTER)
+ else if (pseudoElement->getPseudoId() == PseudoIdAfter)
classNames.appendLiteral("::after");
}
if (!classNames.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698