Index: webrtc/system_wrappers/include/trace.h |
diff --git a/webrtc/system_wrappers/include/trace.h b/webrtc/system_wrappers/include/trace.h |
index 25a3d746c4ff312602f946f6b737bcea91dbc9e2..6b401e87cdfeee195252305075a8a2f0b9a72134 100644 |
--- a/webrtc/system_wrappers/include/trace.h |
+++ b/webrtc/system_wrappers/include/trace.h |
@@ -16,6 +16,7 @@ |
#ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TRACE_H_ |
#define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TRACE_H_ |
+#include "webrtc/base/atomicops.h" |
#include "webrtc/common_types.h" |
#include "webrtc/typedefs.h" |
@@ -84,7 +85,7 @@ class Trace { |
const char* msg, ...); |
private: |
- static volatile int level_filter_; |
+ static rtc::AtomicInt level_filter_; |
}; |
} // namespace webrtc |