Bug 1285474: stylo: Give a name to the node flags to ease rust binding generation.
MozReview-Commit-ID: 1VmQPoynx2z
--- a/dom/base/nsINode.h
+++ b/dom/base/nsINode.h
@@ -82,17 +82,17 @@ class Text;
class TextOrElementOrDocument;
struct DOMPointInit;
} // namespace dom
} // namespace mozilla
#define NODE_FLAG_BIT(n_) \
(nsWrapperCache::FlagsType(1U) << (WRAPPER_CACHE_FLAGS_BITS_USED + (n_)))
-enum {
+enum NodeFlags {
// This bit will be set if the node has a listener manager.
NODE_HAS_LISTENERMANAGER = NODE_FLAG_BIT(0),
// Whether this node has had any properties set on it
NODE_HAS_PROPERTIES = NODE_FLAG_BIT(1),
// Whether this node is the root of an anonymous subtree. Note that this
// need not be a native anonymous subtree. Any anonymous subtree, including