Changed some code to use XPCOM ref counting related macros
git-svn-id: svn://10.0.0.236/trunk@11893 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2490,7 +2490,8 @@ NS_HTML nsresult
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
|
||||
CSSDeclarationImpl *it = new CSSDeclarationImpl();
|
||||
CSSDeclarationImpl *it;
|
||||
NS_NEWXPCOM(it, CSSDeclarationImpl);
|
||||
|
||||
if (nsnull == it) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
Reference in New Issue
Block a user