that addref should not have landed... thanks to rpotts for catching it
git-svn-id: svn://10.0.0.236/trunk@133281 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1498,7 +1498,6 @@ void nsDocument::AddStyleSheet(nsIStyleSheet* aSheet, PRUint32 aFlags)
|
||||
{
|
||||
NS_PRECONDITION(nsnull != aSheet, "null arg");
|
||||
InternalAddStyleSheet(aSheet, aFlags);
|
||||
NS_ADDREF(aSheet);
|
||||
aSheet->SetOwningDocument(this);
|
||||
|
||||
PRBool enabled = PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user