Index: base/thread_collision_warner.h |
diff --git a/base/thread_collision_warner.h b/base/thread_collision_warner.h |
index fa8b7ee82a70ced33ec4c5c59ad96dc4864074a6..6545451bdd71f1d5d6f4082389952058d8c29236 100644 |
--- a/base/thread_collision_warner.h |
+++ b/base/thread_collision_warner.h |
@@ -225,7 +225,7 @@ class ThreadCollisionWarner { |
// This stores the thread id that is inside the critical section, if the |
// value is 0 then no thread is inside. |
- volatile int valid_thread_id_; |
+ volatile subtle::Atomic32 valid_thread_id_; |
// Counter to trace how many time a critical section was "pinned" |
// (when allowed) in order to unpin it when counter_ reaches 0. |