Bug 559714 - Turn off cache in the child process. r=jduell a=blocking-fennec

--HG--
extra : rebase_source : 1d91098b7ee3bc5c7971cdd4f13b7e0c0a815945
This commit is contained in:
Michal Novotny 2010-05-04 17:07:00 -04:00
parent a447b570c3
commit 8e74cf8334

View File

@ -1005,6 +1005,12 @@ nsCacheService::Init()
if (mInitialized)
return NS_ERROR_ALREADY_INITIALIZED;
#ifdef MOZ_IPC
if (mozilla::net::IsNeckoChild()) {
return NS_ERROR_UNEXPECTED;
}
#endif
if (mLock == nsnull)
return NS_ERROR_OUT_OF_MEMORY;