diff options
Diffstat (limited to 'parser/html/nsHtml5StackNode.cpp')
-rw-r--r-- | parser/html/nsHtml5StackNode.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/parser/html/nsHtml5StackNode.cpp b/parser/html/nsHtml5StackNode.cpp index a29fb85d4e..10b0192c07 100644 --- a/parser/html/nsHtml5StackNode.cpp +++ b/parser/html/nsHtml5StackNode.cpp @@ -103,35 +103,35 @@ nsHtml5StackNode::nsHtml5StackNode(int32_t flags, int32_t ns, nsIAtom* name, nsI nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIContentHandle* node) : flags(elementName->getFlags()), - name(elementName->name), - popName(elementName->name), + name(elementName->getName()), + popName(elementName->getName()), ns(kNameSpaceID_XHTML), node(node), attributes(nullptr), refcount(1) { MOZ_COUNT_CTOR(nsHtml5StackNode); - MOZ_ASSERT(!elementName->isCustom(), "Don't use this constructor for custom elements."); + MOZ_ASSERT(elementName->isInterned(), "Don't use this constructor for custom elements."); } nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIContentHandle* node, nsHtml5HtmlAttributes* attributes) : flags(elementName->getFlags()), - name(elementName->name), - popName(elementName->name), + name(elementName->getName()), + popName(elementName->getName()), ns(kNameSpaceID_XHTML), node(node), attributes(attributes), refcount(1) { MOZ_COUNT_CTOR(nsHtml5StackNode); - MOZ_ASSERT(!elementName->isCustom(), "Don't use this constructor for custom elements."); + MOZ_ASSERT(elementName->isInterned(), "Don't use this constructor for custom elements."); } nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIContentHandle* node, nsIAtom* popName) : flags(elementName->getFlags()), - name(elementName->name), + name(elementName->getName()), popName(popName), ns(kNameSpaceID_XHTML), node(node), @@ -144,7 +144,7 @@ nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIContentHa nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIAtom* popName, nsIContentHandle* node) : flags(prepareSvgFlags(elementName->getFlags())), - name(elementName->name), + name(elementName->getName()), popName(popName), ns(kNameSpaceID_SVG), node(node), @@ -157,7 +157,7 @@ nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIAtom* pop nsHtml5StackNode::nsHtml5StackNode(nsHtml5ElementName* elementName, nsIContentHandle* node, nsIAtom* popName, bool markAsIntegrationPoint) : flags(prepareMathFlags(elementName->getFlags(), markAsIntegrationPoint)), - name(elementName->name), + name(elementName->getName()), popName(popName), ns(kNameSpaceID_MathML), node(node), |