зеркало из https://github.com/mozilla/pjs.git
fix windows linker bustage
This commit is contained in:
Родитель
b6aa375c4e
Коммит
bc2dafb595
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче