Altered NS_NewBrowsingProfile() -- no extra param.

This commit is contained in:
waterson%netscape.com 1999-03-27 00:24:46 +00:00
parent 188fe48279
commit f81105da8a

View File

@ -32,7 +32,7 @@ nsConstructBrowsingProfile(nsISupports *aOuter, REFNSIID aIID, void **aResult)
nsresult rv;
NS_ASSERTION(aOuter == nsnull, "no aggregation");
nsIBrowsingProfile* brprof;
rv = NS_NewBrowsingProfile(nsnull, &brprof);
rv = NS_NewBrowsingProfile(&brprof);
if (NS_FAILED(rv)) {
NS_ERROR("Unable to construct browsing profile");
return rv;