mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1644224 - make nsTimerEvent::sCanDeleteAllocator atomic/sequentially consistent r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78771
This commit is contained in:
parent
c8d75d5960
commit
ac4d01ea49
@ -176,12 +176,12 @@ class nsTimerEvent final : public CancelableRunnable {
|
||||
static TimerEventAllocator* sAllocator;
|
||||
|
||||
static Atomic<int32_t, SequentiallyConsistent> sAllocatorUsers;
|
||||
static bool sCanDeleteAllocator;
|
||||
static Atomic<bool, SequentiallyConsistent> sCanDeleteAllocator;
|
||||
};
|
||||
|
||||
TimerEventAllocator* nsTimerEvent::sAllocator = nullptr;
|
||||
Atomic<int32_t, SequentiallyConsistent> nsTimerEvent::sAllocatorUsers;
|
||||
bool nsTimerEvent::sCanDeleteAllocator = false;
|
||||
Atomic<bool, SequentiallyConsistent> nsTimerEvent::sCanDeleteAllocator;
|
||||
|
||||
namespace {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user