Index: webrtc/base/criticalsection.h |
diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h |
index ddbf857f2b15cc49bca4c13e72a011fcc4b7d87b..ed3998b678f375ca1dc666bb6c804230e12b2922 100644 |
--- a/webrtc/base/criticalsection.h |
+++ b/webrtc/base/criticalsection.h |
@@ -106,7 +106,7 @@ class LOCKABLE GlobalLockPod { |
void Unlock() UNLOCK_FUNCTION(); |
- volatile int lock_acquired; |
+ AtomicInt lock_acquired; |
}; |
class GlobalLock : public GlobalLockPod { |