diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-02 16:54:18 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-02-02 16:54:18 +0000 |
commit | 2b321abe2ee48f8c33de8e7f90b59ba0e88e388d (patch) | |
tree | bc0fd4722f83e5d9180bb23fdc39b029b9b60afa /components | |
parent | a510a07da4ecd7d44532f96efc85a2ed7a4272a5 (diff) | |
download | aura-central-2b321abe2ee48f8c33de8e7f90b59ba0e88e388d.tar.gz |
Issue %3057 - Part 6: Revert some of the previous changes for new approach.
Diffstat (limited to 'components')
-rw-r--r-- | components/jar/src/nsJAR.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/jar/src/nsJAR.cpp b/components/jar/src/nsJAR.cpp index 205649e8d..f79a99948 100644 --- a/components/jar/src/nsJAR.cpp +++ b/components/jar/src/nsJAR.cpp @@ -418,7 +418,7 @@ nsJAR::GetJarPath(nsACString& aResult) { NS_ENSURE_ARG_POINTER(mZipFile); - return mZipFile->GetPersistentDescriptor(aResult); + return mZipFile->GetNativePath(aResult); } nsresult @@ -1120,7 +1120,7 @@ nsZipReaderCache::IsCached(nsIFile* zipFile, bool* aResult) MutexAutoLock lock(mLock); nsAutoCString uri; - rv = zipFile->GetPersistentDescriptor(uri); + rv = zipFile->GetNativePath(uri); if (NS_FAILED(rv)) return rv; @@ -1142,7 +1142,7 @@ nsZipReaderCache::GetZip(nsIFile* zipFile, nsIZipReader* *result) #endif nsAutoCString uri; - rv = zipFile->GetPersistentDescriptor(uri); + rv = zipFile->GetNativePath(uri); if (NS_FAILED(rv)) return rv; uri.Insert(NS_LITERAL_CSTRING("file:"), 0); @@ -1186,7 +1186,7 @@ nsZipReaderCache::GetInnerZip(nsIFile* zipFile, const nsACString &entry, #endif nsAutoCString uri; - rv = zipFile->GetPersistentDescriptor(uri); + rv = zipFile->GetNativePath(uri); if (NS_FAILED(rv)) return rv; uri.Insert(NS_LITERAL_CSTRING("jar:"), 0); @@ -1229,7 +1229,7 @@ nsZipReaderCache::GetFd(nsIFile* zipFile, PRFileDesc** aRetVal) nsresult rv; nsAutoCString uri; - rv = zipFile->GetPersistentDescriptor(uri); + rv = zipFile->GetNativePath(uri); if (NS_FAILED(rv)) { return rv; } @@ -1370,7 +1370,7 @@ nsZipReaderCache::Observe(nsISupports *aSubject, return NS_OK; nsAutoCString uri; - if (NS_FAILED(file->GetPersistentDescriptor(uri))) + if (NS_FAILED(file->GetNativePath(uri))) return NS_OK; uri.Insert(NS_LITERAL_CSTRING("file:"), 0); |