Index: webrtc/rtc_base/swap_queue.h |
diff --git a/webrtc/rtc_base/swap_queue.h b/webrtc/rtc_base/swap_queue.h |
index 3519686af996c81be3473a6ef16e57fc2ba3177c..95bae21bb8654c423c1399fbe7736bf8764e2100 100644 |
--- a/webrtc/rtc_base/swap_queue.h |
+++ b/webrtc/rtc_base/swap_queue.h |
@@ -192,16 +192,16 @@ class SwapQueue { |
// TODO(peah): Change this to use std::function() once we can use C++11 std |
// lib. |
- QueueItemVerifier queue_item_verifier_ GUARDED_BY(crit_queue_); |
+ QueueItemVerifier queue_item_verifier_ RTC_GUARDED_BY(crit_queue_); |
// (next_read_index_ + num_elements_) % queue_.size() = |
// next_write_index_ |
- size_t next_write_index_ GUARDED_BY(crit_queue_) = 0; |
- size_t next_read_index_ GUARDED_BY(crit_queue_) = 0; |
- size_t num_elements_ GUARDED_BY(crit_queue_) = 0; |
+ size_t next_write_index_ RTC_GUARDED_BY(crit_queue_) = 0; |
+ size_t next_read_index_ RTC_GUARDED_BY(crit_queue_) = 0; |
+ size_t num_elements_ RTC_GUARDED_BY(crit_queue_) = 0; |
// queue_.size() is constant. |
- std::vector<T> queue_ GUARDED_BY(crit_queue_); |
+ std::vector<T> queue_ RTC_GUARDED_BY(crit_queue_); |
RTC_DISALLOW_COPY_AND_ASSIGN(SwapQueue); |
}; |