| Index: webrtc/base/criticalsection.h
|
| diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h
|
| index ddbf857f2b15cc49bca4c13e72a011fcc4b7d87b..a7571fee0e0dbf53bafb378675c15cbe4d021078 100644
|
| --- a/webrtc/base/criticalsection.h
|
| +++ b/webrtc/base/criticalsection.h
|
| @@ -106,13 +106,10 @@ class LOCKABLE GlobalLockPod {
|
|
|
| void Unlock() UNLOCK_FUNCTION();
|
|
|
| - volatile int lock_acquired;
|
| + AtomicInt lock_acquired;
|
| };
|
|
|
| -class GlobalLock : public GlobalLockPod {
|
| - public:
|
| - GlobalLock();
|
| -};
|
| +class GlobalLock : public GlobalLockPod {};
|
|
|
| // GlobalLockScope, for serializing execution through a scope.
|
| class SCOPED_LOCKABLE GlobalLockScope {
|
|
|