Index: base/atomic_ref_count.h |
diff --git a/base/atomic_ref_count.h b/base/atomic_ref_count.h |
index af83572b160056269c943d864113f1fd0bb08e50..66fe07b9b2cb44cbded798be92dd54a4cf43825e 100644 |
--- a/base/atomic_ref_count.h |
+++ b/base/atomic_ref_count.h |
@@ -13,12 +13,12 @@ |
namespace base { |
-typedef base::subtle::Atomic32 AtomicRefCount; |
+typedef subtle::Atomic32 AtomicRefCount; |
// Increment a reference count by "increment", which must exceed 0. |
inline void AtomicRefCountIncN(volatile AtomicRefCount *ptr, |
AtomicRefCount increment) { |
- base::subtle::NoBarrier_AtomicIncrement(ptr, increment); |
+ subtle::NoBarrier_AtomicIncrement(ptr, increment); |
} |
// Decrement a reference count by "decrement", which must exceed 0, |
@@ -27,7 +27,7 @@ inline void AtomicRefCountIncN(volatile AtomicRefCount *ptr, |
// became zero will be visible to a thread that has just made the count zero. |
inline bool AtomicRefCountDecN(volatile AtomicRefCount *ptr, |
AtomicRefCount decrement) { |
- return base::subtle::Barrier_AtomicIncrement(ptr, -decrement) != 0; |
+ return subtle::Barrier_AtomicIncrement(ptr, -decrement) != 0; |
} |
// Increment a reference count by 1. |
@@ -49,14 +49,14 @@ inline bool AtomicRefCountDec(volatile AtomicRefCount *ptr) { |
// needed for the owning thread to act on the object, knowing that it has |
// exclusive access to the object. |
inline bool AtomicRefCountIsOne(volatile AtomicRefCount *ptr) { |
- return base::subtle::Acquire_Load(ptr) == 1; |
+ return subtle::Acquire_Load(ptr) == 1; |
} |
// Return whether the reference count is zero. With conventional object |
// referencing counting, the object will be destroyed, so the reference count |
// should never be zero. Hence this is generally used for a debug check. |
inline bool AtomicRefCountIsZero(volatile AtomicRefCount *ptr) { |
- return base::subtle::Acquire_Load(ptr) == 0; |
+ return subtle::Acquire_Load(ptr) == 0; |
} |
} // namespace base |