mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 855402. Don't try to write to the startup cache if there isn't one, and definitely don't start _thinking_ we've written to it. r=ehsan
This commit is contained in:
parent
5abeb6d6a7
commit
5db35d415f
@ -324,6 +324,9 @@ nsXULPrototypeCache::WritePrototype(nsXULPrototypeDocument* aPrototypeDocument)
|
||||
{
|
||||
nsresult rv = NS_OK, rv2 = NS_OK;
|
||||
|
||||
if (!StartupCache::GetSingleton())
|
||||
return NS_OK;
|
||||
|
||||
nsCOMPtr<nsIURI> protoURI = aPrototypeDocument->GetURI();
|
||||
|
||||
nsCOMPtr<nsIObjectOutputStream> oos;
|
||||
|
Loading…
Reference in New Issue
Block a user