Bug 797290 - #undef DATA_NODE_FLAG_BIT like other content flag bit macros. r=Ms2ger
authorCameron McCormack <cam@mcc.id.au>
Thu, 04 Oct 2012 07:32:34 +1000
changeset 109129 a2bd4764667c0aefafab923ea9e982f3f7f9d453
parent 109128 619638eafdc7ee187716cab59525c70b56e6de27
child 109130 b313eadbbc114940b18a502135b8a7c0560a4e21
push id23609
push userryanvm@gmail.com
push dateThu, 04 Oct 2012 01:43:15 +0000
treeherdermozilla-central@ae646840907e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs797290
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 797290 - #undef DATA_NODE_FLAG_BIT like other content flag bit macros. r=Ms2ger
content/base/src/nsGenericDOMDataNode.h
--- a/content/base/src/nsGenericDOMDataNode.h
+++ b/content/base/src/nsGenericDOMDataNode.h
@@ -41,16 +41,18 @@ enum {
   // This bit is set to indicate that if the text node changes to
   // whitespace, we may need to reframe it (or its ancestors).
   NS_REFRAME_IF_WHITESPACE =              DATA_NODE_FLAG_BIT(1)
 };
 
 // Make sure we have enough space for those bits
 PR_STATIC_ASSERT(NODE_TYPE_SPECIFIC_BITS_OFFSET + 1 < 32);
 
+#undef DATA_NODE_FLAG_BIT
+
 class nsGenericDOMDataNode : public nsIContent
 {
 public:
   NS_DECL_CYCLE_COLLECTING_ISUPPORTS
 
   NS_DECL_SIZEOF_EXCLUDING_THIS
 
   nsGenericDOMDataNode(already_AddRefed<nsINodeInfo> aNodeInfo);