Bug 562688 part 2. Create a mozilla::dom::Element class sitting between nsGenericElement and nsIContent. r=jst, sr=sicking

This commit is contained in:
Boris Zbarsky
2010-04-30 09:12:05 -04:00
parent 8536fc0089
commit b95eeef3dd
5 changed files with 80 additions and 3 deletions

View File

@@ -1786,7 +1786,7 @@ nsGenericElement::nsDOMSlots::~nsDOMSlots()
}
nsGenericElement::nsGenericElement(nsINodeInfo *aNodeInfo)
: nsIContent(aNodeInfo)
: Element(aNodeInfo)
{
// Set the default scriptID to JS - but skip SetScriptTypeID as it
// does extra work we know isn't necessary here...