r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless
git-svn-id: svn://10.0.0.236/trunk@131314 18797224-902f-48f8-a5cc-f745e15eee43
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build
git-svn-id: svn://10.0.0.236/trunk@130894 18797224-902f-48f8-a5cc-f745e15eee43
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
git-svn-id: svn://10.0.0.236/trunk@130891 18797224-902f-48f8-a5cc-f745e15eee43