summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/nsElementTable.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 06:14:58 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 06:14:58 -0400
commit071957f9fab1f5065730c79ccc46a660ace35569 (patch)
tree52326da135ed3ed0d1a39f5bc128e36675f5c5f6 /parser/htmlparser/nsElementTable.h
parente482e335bb8de6630a171cd0a784b420d91106b2 (diff)
downloadUXP-071957f9fab1f5065730c79ccc46a660ace35569.tar
UXP-071957f9fab1f5065730c79ccc46a660ace35569.tar.gz
UXP-071957f9fab1f5065730c79ccc46a660ace35569.tar.lz
UXP-071957f9fab1f5065730c79ccc46a660ace35569.tar.xz
UXP-071957f9fab1f5065730c79ccc46a660ace35569.zip
Bug 1394300 - Streamline nsElementTable.cpp
Tag #1375
Diffstat (limited to 'parser/htmlparser/nsElementTable.h')
-rw-r--r--parser/htmlparser/nsElementTable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/parser/htmlparser/nsElementTable.h b/parser/htmlparser/nsElementTable.h
index a4b78c09e..28d2fa532 100644
--- a/parser/htmlparser/nsElementTable.h
+++ b/parser/htmlparser/nsElementTable.h
@@ -80,12 +80,14 @@ inline bool TestBits(int aBitset,int aTest) {
struct nsHTMLElement {
bool IsMemberOf(int32_t aType) const;
+#ifdef DEBUG
eHTMLTags mTagID;
+#endif
int mParentBits; //defines groups that can contain this element
bool mLeaf;
static bool IsContainer(eHTMLTags aTag);
-};
+};
extern const nsHTMLElement gHTMLElements[];