Bug 1121672 - Make CacheFile::IsDoomed() protect mHandle with lock, r=michal

This commit is contained in:
Honza Bambas 2016-01-12 09:24:00 +01:00
parent cdacf2996f
commit bc7deb81b7

View File

@ -1783,6 +1783,8 @@ CacheFile::DataSize(int64_t* aSize)
bool
CacheFile::IsDoomed()
{
CacheFileAutoLock lock(this);
if (!mHandle)
return false;