Index: webrtc/rtc_base/criticalsection_unittest.cc |
diff --git a/webrtc/rtc_base/criticalsection_unittest.cc b/webrtc/rtc_base/criticalsection_unittest.cc |
index 2e136bf80418a3837837caf0bd9ee0fb6bd7eaf9..c264e44bd7d3b2c0a05e4dd524c9e782e6188c0b 100644 |
--- a/webrtc/rtc_base/criticalsection_unittest.cc |
+++ b/webrtc/rtc_base/criticalsection_unittest.cc |
@@ -113,14 +113,10 @@ class RunnerBase : public MessageHandler { |
int shared_value_; |
}; |
-class LOCKABLE CriticalSectionLock { |
+class RTC_LOCKABLE CriticalSectionLock { |
public: |
- void Lock() EXCLUSIVE_LOCK_FUNCTION() { |
- cs_.Enter(); |
- } |
- void Unlock() UNLOCK_FUNCTION() { |
- cs_.Leave(); |
- } |
+ void Lock() RTC_EXCLUSIVE_LOCK_FUNCTION() { cs_.Enter(); } |
+ void Unlock() RTC_UNLOCK_FUNCTION() { cs_.Leave(); } |
private: |
CriticalSection cs_; |