Fix problem with NS_IF_ADDREF on member variables inside of const

member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jdunn%netscape.com
2000-02-17 23:19:18 +00:00
parent 42b126f0c5
commit 659b2712ed
37 changed files with 46 additions and 111 deletions

View File

@@ -1314,8 +1314,8 @@ HTMLAttributesImpl::GetAttributeCount(PRInt32& aCount) const
NS_IMETHODIMP
HTMLAttributesImpl::GetID(nsIAtom*& aResult) const
{
NS_IF_ADDREF(mID);
aResult = mID;
NS_IF_ADDREF(aResult);
return NS_OK;
}