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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 years, 10 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/InspectorTraceEvents.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
index 8280c6a3594906154b5548b4b56c696fc44cbd72..fdf3c58988a431fc9350b73076ea324e1e488452 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
@@ -75,8 +75,10 @@ void setNodeInfo(TracedValue* value,
const char* pseudoTypeToString(CSSSelector::PseudoType pseudoType) {
switch (pseudoType) {
#define DEFINE_STRING_MAPPING(pseudoType) \
- case CSSSelector::pseudoType: \
+ case CSSSelector::k##pseudoType: \
return #pseudoType;
+ /* DO NOT SUBMIT - conflict resolution helper:
+ * Important to have PseudoUnknown instead of kPseudoUnknown below. */
DEFINE_STRING_MAPPING(PseudoUnknown)
DEFINE_STRING_MAPPING(PseudoEmpty)
DEFINE_STRING_MAPPING(PseudoFirstChild)
@@ -163,6 +165,8 @@ const char* pseudoTypeToString(CSSSelector::PseudoType pseudoType) {
DEFINE_STRING_MAPPING(PseudoSpatialNavigationFocus)
DEFINE_STRING_MAPPING(PseudoListBox)
DEFINE_STRING_MAPPING(PseudoHostHasAppearance)
+ /* DO NOT SUBMIT - conflict resolution helper:
+ * Important to have PseudoHostHasAppearance (not kPseudoHost...) above. */
#undef DEFINE_STRING_MAPPING
}

Powered by Google App Engine
This is Rietveld 408576698