mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Backed out changeset 4318f781ab87 to investigate Ts changes, b=506812 CLOSED TREE
This commit is contained in:
parent
a51ef667d4
commit
60c7c7e310
@ -1439,7 +1439,13 @@ XRE_GetBinaryPath(const char* argv0, nsILocalFile* *aResult)
|
||||
if (!bundleURL)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
rv = lfm->InitWithCFURL(bundleURL);
|
||||
FSRef fileRef;
|
||||
if (!CFURLGetFSRef(bundleURL, &fileRef)) {
|
||||
CFRelease(bundleURL);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
rv = lfm->InitWithFSRef(&fileRef);
|
||||
CFRelease(bundleURL);
|
||||
|
||||
if (NS_FAILED(rv))
|
||||
|
Loading…
Reference in New Issue
Block a user