mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Altered NS_NewBrowsingProfile() -- no extra param.
This commit is contained in:
parent
188fe48279
commit
f81105da8a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user