mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
oops, fix bustage - I forgot to change the API on all 3 platforms
This commit is contained in:
parent
423d4f12bf
commit
d8253813c9
@ -53,7 +53,7 @@
|
||||
static int isleadbyte(int c);
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
|
||||
nsIOService::GetURLSpecFromFile(nsIFile *aFile, char * *aURL)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aURL);
|
||||
*aURL = nsnull;
|
||||
@ -104,7 +104,7 @@ nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsIOService::SetFileFromURL(nsIFile *aFile, const char * aURL)
|
||||
nsIOService::InitFileFromURLSpec(nsIFile *aFile, const char * aURL)
|
||||
{
|
||||
NS_ENSURE_ARG(aURL);
|
||||
nsresult rv;
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "nsIOService.h"
|
||||
#include "nsEscape.h"
|
||||
|
||||
NS_IMETHODIMP nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
|
||||
NS_IMETHODIMP nsIOService::GetURLSpecFromFile(nsIFile *aFile, char * *aURL)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aURL);
|
||||
*aURL = nsnull;
|
||||
@ -73,7 +73,7 @@ NS_IMETHODIMP nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsIOService::SetFileFromURL(nsIFile* aFile, const char * aURL)
|
||||
NS_IMETHODIMP nsIOService::InitFileFromURLSpec(nsIFile* aFile, const char * aURL)
|
||||
{
|
||||
NS_ENSURE_ARG(aURL);
|
||||
nsresult rv;
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <windows.h>
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
|
||||
nsIOService::GetURLSpecFromFile(nsIFile *aFile, char * *aURL)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aURL);
|
||||
*aURL = nsnull;
|
||||
@ -95,7 +95,7 @@ nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsIOService::SetFileFromURL(nsIFile *aFile, const char * aURL)
|
||||
nsIOService::InitFileFromURLSpec(nsIFile *aFile, const char * aURL)
|
||||
{
|
||||
NS_ENSURE_ARG(aURL);
|
||||
nsresult rv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user