зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1301777 - Use nsCOMPtr for stack variables. r=mccr8
--HG-- extra : rebase_source : cdbc82c57f3904ea98d5392a9587351447496763
This commit is contained in:
Родитель
3014d2c1e7
Коммит
588f79ddd9
|
@ -1765,7 +1765,8 @@ nsINode::Before(const Sequence<OwningNodeOrString>& aNodes,
|
|||
return;
|
||||
}
|
||||
|
||||
nsINode* viablePreviousSibling = FindViablePreviousSibling(*this, aNodes);
|
||||
nsCOMPtr<nsINode> viablePreviousSibling =
|
||||
FindViablePreviousSibling(*this, aNodes);
|
||||
|
||||
nsCOMPtr<nsINode> node =
|
||||
ConvertNodesOrStringsIntoNode(aNodes, OwnerDoc(), aRv);
|
||||
|
@ -1788,7 +1789,7 @@ nsINode::After(const Sequence<OwningNodeOrString>& aNodes,
|
|||
return;
|
||||
}
|
||||
|
||||
nsINode* viableNextSibling = FindViableNextSibling(*this, aNodes);
|
||||
nsCOMPtr<nsINode> viableNextSibling = FindViableNextSibling(*this, aNodes);
|
||||
|
||||
nsCOMPtr<nsINode> node =
|
||||
ConvertNodesOrStringsIntoNode(aNodes, OwnerDoc(), aRv);
|
||||
|
@ -1808,7 +1809,7 @@ nsINode::ReplaceWith(const Sequence<OwningNodeOrString>& aNodes,
|
|||
return;
|
||||
}
|
||||
|
||||
nsINode* viableNextSibling = FindViableNextSibling(*this, aNodes);
|
||||
nsCOMPtr<nsINode> viableNextSibling = FindViableNextSibling(*this, aNodes);
|
||||
|
||||
nsCOMPtr<nsINode> node =
|
||||
ConvertNodesOrStringsIntoNode(aNodes, OwnerDoc(), aRv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче