mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
fix windows linker bustage
This commit is contained in:
parent
43612b8678
commit
f93df3a67a
@ -138,14 +138,6 @@ nsDOMIterator::ForEach(nsDomIterFunctor& functor) const
|
||||
}
|
||||
}
|
||||
|
||||
inline nsresult
|
||||
nsDOMIterator::MakeList(nsBoolDomIterFunctor& functor,
|
||||
nsCOMArray<nsIDOMNode>& outArrayOfNodes) const
|
||||
{
|
||||
NS_PRECONDITION(outArrayOfNodes.Count() == 0, "Calling MakeList on non-empty list!");
|
||||
return AppendList(functor, outArrayOfNodes);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsDOMIterator::AppendList(nsBoolDomIterFunctor& functor,
|
||||
nsCOMArray<nsIDOMNode>& arrayOfNodes) const
|
||||
|
@ -212,7 +212,12 @@ class nsDOMIterator
|
||||
nsresult Init(nsIDOMNode* aNode);
|
||||
void ForEach(nsDomIterFunctor& functor) const;
|
||||
nsresult MakeList(nsBoolDomIterFunctor& functor,
|
||||
nsCOMArray<nsIDOMNode>& outArrayOfNodes) const;
|
||||
nsCOMArray<nsIDOMNode>& outArrayOfNodes) const
|
||||
{
|
||||
NS_PRECONDITION(outArrayOfNodes.Count() == 0,
|
||||
"Calling MakeList on non-empty list!");
|
||||
return AppendList(functor, outArrayOfNodes);
|
||||
};
|
||||
nsresult AppendList(nsBoolDomIterFunctor& functor,
|
||||
nsCOMArray<nsIDOMNode>& arrayOfNodes) const;
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user