Bug 795406 - Set up profile unlocker. r=bsmedberg

This commit is contained in:
Wes Johnston 2012-10-05 17:58:29 -07:00
Родитель caae846899
Коммит 93a77cc9b7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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));