mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1120631 - CacheEntry::mFileStatus made atomic/rel_acq. r=nfroyd, r=michal
This commit is contained in:
parent
8ebce48c30
commit
3db9b3351b
@ -265,7 +265,11 @@ private:
|
||||
nsCOMPtr<nsICacheEntryDoomCallback> mDoomCallback;
|
||||
|
||||
nsRefPtr<CacheFile> mFile;
|
||||
nsresult mFileStatus;
|
||||
|
||||
// Using ReleaseAcquire since we only control access to mFile with this.
|
||||
// When mFileStatus is read and found success it is ensured there is mFile and
|
||||
// that it is after a successful call to Init().
|
||||
::mozilla::Atomic<nsresult, ::mozilla::ReleaseAcquire> mFileStatus;
|
||||
nsCOMPtr<nsIURI> mURI;
|
||||
nsCString mEnhanceID;
|
||||
nsCString mStorageID;
|
||||
|
Loading…
Reference in New Issue
Block a user