Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig
Remove it and related functions, and update the callers. Differential Revision: https://phabricator.services.mozilla.com/D226261
This commit is contained in:
@@ -1734,7 +1734,7 @@ static nsresult PinCurrentAppToTaskbarImpl(
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
nsAutoString exeStr(exePath);
|
||||
nsresult rv = NS_NewLocalFile(exeStr, true, getter_AddRefs(exeFile));
|
||||
nsresult rv = NS_NewLocalFile(exeStr, getter_AddRefs(exeFile));
|
||||
if (!NS_SUCCEEDED(rv)) {
|
||||
return NS_ERROR_FILE_NOT_FOUND;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user