summaryrefslogtreecommitdiff
path: root/deps/v8/src/base/platform/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/base/platform/mutex.h')
-rw-r--r--deps/v8/src/base/platform/mutex.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/src/base/platform/mutex.h b/deps/v8/src/base/platform/mutex.h
index 2f8c07d89e..5d0e57be57 100644
--- a/deps/v8/src/base/platform/mutex.h
+++ b/deps/v8/src/base/platform/mutex.h
@@ -33,7 +33,7 @@ namespace base {
// |TryLock()|. The behavior of a program is undefined if a mutex is destroyed
// while still owned by some thread. The Mutex class is non-copyable.
-class Mutex V8_FINAL {
+class Mutex FINAL {
public:
Mutex();
~Mutex();
@@ -50,7 +50,7 @@ class Mutex V8_FINAL {
// Tries to lock the given mutex. Returns whether the mutex was
// successfully locked.
- bool TryLock() V8_WARN_UNUSED_RESULT;
+ bool TryLock() WARN_UNUSED_RESULT;
// The implementation-defined native handle type.
#if V8_OS_POSIX
@@ -127,7 +127,7 @@ typedef LazyStaticInstance<Mutex, DefaultConstructTrait<Mutex>,
// The behavior of a program is undefined if a recursive mutex is destroyed
// while still owned by some thread. The RecursiveMutex class is non-copyable.
-class RecursiveMutex V8_FINAL {
+class RecursiveMutex FINAL {
public:
RecursiveMutex();
~RecursiveMutex();
@@ -149,7 +149,7 @@ class RecursiveMutex V8_FINAL {
// Tries to lock the given mutex. Returns whether the mutex was
// successfully locked.
- bool TryLock() V8_WARN_UNUSED_RESULT;
+ bool TryLock() WARN_UNUSED_RESULT;
// The implementation-defined native handle type.
typedef Mutex::NativeHandle NativeHandle;
@@ -199,7 +199,7 @@ typedef LazyStaticInstance<RecursiveMutex,
// The LockGuard class is non-copyable.
template <typename Mutex>
-class LockGuard V8_FINAL {
+class LockGuard FINAL {
public:
explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); }
~LockGuard() { mutex_->Unlock(); }