Index: src/base/atomic-utils.h |
diff --git a/src/base/atomic-utils.h b/src/base/atomic-utils.h |
index ac90fd98a7130a2ec26ca6680f9c2acad3f08a57..6731a810f18c06f7929c21e2ec9c7f5466bccbe0 100644 |
--- a/src/base/atomic-utils.h |
+++ b/src/base/atomic-utils.h |
@@ -52,7 +52,7 @@ class AtomicValue { |
explicit AtomicValue(T initial) |
: value_(cast_helper<T>::to_storage_type(initial)) {} |
- V8_INLINE T Value() { |
+ V8_INLINE T Value() const { |
return cast_helper<T>::to_return_type(base::Acquire_Load(&value_)); |
} |