mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 559714 - Turn off cache in the child process. r=jduell a=blocking-fennec
--HG-- extra : rebase_source : 1d91098b7ee3bc5c7971cdd4f13b7e0c0a815945
This commit is contained in:
parent
a447b570c3
commit
8e74cf8334
6
netwerk/cache/nsCacheService.cpp
vendored
6
netwerk/cache/nsCacheService.cpp
vendored
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user