mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-18 17:02:01 +00:00
Bug 795406 - Set up profile unlocker. r=bsmedberg
This commit is contained in:
parent
caae846899
commit
93a77cc9b7
@ -2220,7 +2220,7 @@ SelectProfile(nsIProfileLock* *aResult, nsIToolkitProfileService* aProfileSvc, n
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIProfileUnlocker> unlocker;
|
||||
rv = profile->Lock(nullptr, aResult);
|
||||
rv = profile->Lock(getter_AddRefs(unlocker), aResult);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (aProfileName)
|
||||
aProfileName->Assign(nsDependentCString(arg));
|
||||
|
Loading…
x
Reference in New Issue
Block a user