Bug 737976: Remove nsINodeInfo. r=smaug

This commit is contained in:
Kyle Huey
2014-06-19 19:01:40 -07:00
parent 2ce1611077
commit 0c88b519d9
355 changed files with 1166 additions and 1165 deletions

View File

@@ -341,7 +341,7 @@ nsHtml5TreeOperation::CreateElement(int32_t aNs,
}
nsCOMPtr<dom::Element> newElement;
nsCOMPtr<nsINodeInfo> nodeInfo = aBuilder->GetNodeInfoManager()->
nsRefPtr<dom::NodeInfo> nodeInfo = aBuilder->GetNodeInfoManager()->
GetNodeInfo(aName, nullptr, aNs, nsIDOMNode::ELEMENT_NODE);
NS_ASSERTION(nodeInfo, "Got null nodeinfo.");
NS_NewElement(getter_AddRefs(newElement),
@@ -380,7 +380,7 @@ nsHtml5TreeOperation::CreateElement(int32_t aNs,
theAttribute,
false);
nsCOMPtr<nsINodeInfo> optionNodeInfo =
nsRefPtr<dom::NodeInfo> optionNodeInfo =
aBuilder->GetNodeInfoManager()->GetNodeInfo(nsHtml5Atoms::option,
nullptr,
kNameSpaceID_XHTML,
@@ -388,7 +388,7 @@ nsHtml5TreeOperation::CreateElement(int32_t aNs,
for (uint32_t i = 0; i < theContent.Length(); ++i) {
nsCOMPtr<dom::Element> optionElt;
nsCOMPtr<nsINodeInfo> ni = optionNodeInfo;
nsRefPtr<dom::NodeInfo> ni = optionNodeInfo;
NS_NewElement(getter_AddRefs(optionElt),
ni.forget(),
aFromParser);