Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433

git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-06-03 09:46:12 +00:00
parent 1129de8b91
commit cc5d426fbe
317 changed files with 1275 additions and 1512 deletions

View File

@@ -2577,9 +2577,9 @@ NS_IMETHODIMP nsDocShell::KeywordURIFixup(const PRUnichar* aStringURI,
{
keywordSpec.Append(escapedUTF8Spec);
NS_NewURI(aURI, keywordSpec.GetBuffer(), nsnull);
nsAllocator::Free(escapedUTF8Spec);
nsMemory::Free(escapedUTF8Spec);
} // escapedUTF8Spec
nsAllocator::Free(utf8Spec);
nsMemory::Free(utf8Spec);
} // utf8Spec
} // keyword
} // FindChar
@@ -2948,7 +2948,7 @@ void nsDocShell::OnNewURI(nsIURI *aURI, nsIChannel *aChannel, loadType aLoadType
uri = baseURI;
} else {
NS_NewURI(getter_AddRefs(uri), uriAttrib, baseURI);
nsAllocator::Free(uriAttrib);
nsMemory::Free(uriAttrib);
}
RefreshURI (uri, millis, PR_FALSE);