Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8

MozReview-Commit-ID: KvKjeKIOB9K
This commit is contained in:
Boris Zbarsky
2018-01-29 23:10:53 -05:00
parent 62a7155c3e
commit a04420f06a
71 changed files with 333 additions and 329 deletions

View File

@@ -735,7 +735,7 @@ HTMLImageElement::Image(const GlobalObject& aGlobal,
already_AddRefed<mozilla::dom::NodeInfo> nodeInfo =
doc->NodeInfoManager()->GetNodeInfo(nsGkAtoms::img, nullptr,
kNameSpaceID_XHTML,
nsIDOMNode::ELEMENT_NODE);
ELEMENT_NODE);
RefPtr<HTMLImageElement> img = new HTMLImageElement(nodeInfo);