Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / v8 / src / base / platform / mutex.h
index 2f8c07d..5d0e57b 100644 (file)
@@ -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(); }