mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1153394 - make HangMonitorChild::sInstance an atomic variable; r=billm
This commit is contained in:
parent
e38280f51c
commit
4fb3553a93
@ -106,7 +106,7 @@ class HangMonitorChild
|
||||
private:
|
||||
void ShutdownOnThread();
|
||||
|
||||
static HangMonitorChild* sInstance;
|
||||
static Atomic<HangMonitorChild*> sInstance;
|
||||
|
||||
const nsRefPtr<ProcessHangMonitor> mHangMonitor;
|
||||
Monitor mMonitor;
|
||||
@ -124,7 +124,7 @@ class HangMonitorChild
|
||||
bool mIPCOpen;
|
||||
};
|
||||
|
||||
HangMonitorChild* HangMonitorChild::sInstance;
|
||||
Atomic<HangMonitorChild*> HangMonitorChild::sInstance;
|
||||
|
||||
/* Parent process objects */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user