C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin

git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
2002-01-08 01:31:25 +00:00
parent b24a359d13
commit b0e0e6d031
21 changed files with 37 additions and 40 deletions

View File

@@ -75,7 +75,7 @@ static void* ProcessURLArg(char* str)
if (NS_SUCCEEDED(rv))
{
nsXPIDLCString fileurl;
rv = file->GetURL(getter_Copies(fileurl));
rv = NS_GetURLSpecFromFile(file, getter_Copies(fileurl));
if (NS_SUCCEEDED(rv) && fileurl.get())
return NS_REINTERPRET_CAST(void*, nsCRT::strdup(fileurl.get()));
}