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

@@ -1207,7 +1207,7 @@ nsInstall::LoadResources(JSContext* cx, const nsString& aBaseName, jsval* aRetur
#if 1
{
nsXPIDLCString spec;
resFile->GetURL(getter_Copies(spec));
ret = NS_GetURLSpecFromFile(resFile, getter_Copies(spec));
if (NS_FAILED(ret)) {
NS_WARNING("cannot get url spec\n");
nsServiceManager::ReleaseService(kStringBundleServiceCID, service);