Bug 1153394 - make HangMonitorChild::sInstance an atomic variable; r=billm

This commit is contained in:
Nathan Froyd 2015-09-11 19:24:53 -04:00
parent e38280f51c
commit 4fb3553a93

View File

@ -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 */