| Index: webrtc/rtc_base/criticalsection.cc
|
| diff --git a/webrtc/rtc_base/criticalsection.cc b/webrtc/rtc_base/criticalsection.cc
|
| index 08acb13317c787ebc5ac82cafc58c261617cafff..e73b23c0929ddc06822c8e8cca2ceefbe489de1b 100644
|
| --- a/webrtc/rtc_base/criticalsection.cc
|
| +++ b/webrtc/rtc_base/criticalsection.cc
|
| @@ -56,7 +56,7 @@ CriticalSection::~CriticalSection() {
|
| #endif
|
| }
|
|
|
| -void CriticalSection::Enter() const EXCLUSIVE_LOCK_FUNCTION() {
|
| +void CriticalSection::Enter() const RTC_EXCLUSIVE_LOCK_FUNCTION() {
|
| #if defined(WEBRTC_WIN)
|
| EnterCriticalSection(&crit_);
|
| #elif defined(WEBRTC_POSIX)
|
| @@ -115,7 +115,7 @@ void CriticalSection::Enter() const EXCLUSIVE_LOCK_FUNCTION() {
|
| #endif
|
| }
|
|
|
| -bool CriticalSection::TryEnter() const EXCLUSIVE_TRYLOCK_FUNCTION(true) {
|
| +bool CriticalSection::TryEnter() const RTC_EXCLUSIVE_TRYLOCK_FUNCTION(true) {
|
| #if defined(WEBRTC_WIN)
|
| return TryEnterCriticalSection(&crit_) != FALSE;
|
| #elif defined(WEBRTC_POSIX)
|
| @@ -148,7 +148,7 @@ bool CriticalSection::TryEnter() const EXCLUSIVE_TRYLOCK_FUNCTION(true) {
|
| #endif
|
| }
|
|
|
| -void CriticalSection::Leave() const UNLOCK_FUNCTION() {
|
| +void CriticalSection::Leave() const RTC_UNLOCK_FUNCTION() {
|
| RTC_DCHECK(CurrentThreadIsOwner());
|
| #if defined(WEBRTC_WIN)
|
| LeaveCriticalSection(&crit_);
|
|
|