зеркало из https://github.com/mozilla/pjs.git
[not part of build] really delegate GetTransport() to the cache service.
This commit is contained in:
Родитель
469a57114d
Коммит
324eaee24b
|
@ -181,7 +181,7 @@ NS_IMETHODIMP nsCacheEntryDescriptor::GetTransport(nsITransport * *aTransport)
|
|||
if (!mCacheEntry) return NS_ERROR_NOT_AVAILABLE;
|
||||
if (!mCacheEntry->IsStreamData()) return NS_ERROR_CACHE_DATA_IS_NOT_STREAM;
|
||||
|
||||
return mCacheEntry->CacheDevice()->GetTransportForEntry(mCacheEntry, aTransport);
|
||||
return nsCacheService::GlobalInstance()->GetTransportForEntry(mCacheEntry, aTransport);
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче