Changing the nsDirectoryService define. This should have been done with the rest of the nsDirectorySerivce changes. r=conrad.
git-svn-id: svn://10.0.0.236/trunk@76309 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
faa139162d
commit
6591791df9
@ -53,6 +53,7 @@
|
||||
#include "nsINetSupportDialogService.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsDirectoryService.h"
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
#include "nsIFile.h"
|
||||
#include "nsIZipReader.h"
|
||||
#include "nsIPluginInstance.h"
|
||||
@ -1175,7 +1176,7 @@ nsScriptSecurityManager::SetCanEnableCapability(const char* certificateID,
|
||||
nsCOMPtr<nsIFile> systemCertFile;
|
||||
NS_WITH_SERVICE(nsIProperties, directoryService, NS_DIRECTORY_SERVICE_PROGID, &rv);
|
||||
if (!directoryService) return NS_ERROR_FAILURE;
|
||||
rv = directoryService->Get("system.OS_CurrentProcessDirectory", NS_GET_IID(nsIFile),
|
||||
rv = directoryService->Get(NS_XPCOM_CURRENT_PROCESS_DIR, NS_GET_IID(nsIFile),
|
||||
getter_AddRefs(systemCertFile));
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
#ifdef XP_MAC
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user