Index: webrtc/logging/rtc_event_log/rtc_event_log.cc |
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.cc b/webrtc/logging/rtc_event_log/rtc_event_log.cc |
index d1cad894147000bdd3f6b85a64ae28c876af23bb..7c295aa0e307cae0f82d0f13bb5c9808800832bf 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log.cc |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.cc |
@@ -168,15 +168,16 @@ class RtcEventLogImpl final : public RtcEventLog { |
// History containing all past configuration events. |
std::vector<std::unique_ptr<rtclog::Event>> config_history_ |
- ACCESS_ON(task_queue_); |
+ RTC_ACCESS_ON(task_queue_); |
// History containing the most recent (non-configuration) events (~10s). |
- std::deque<std::unique_ptr<rtclog::Event>> history_ ACCESS_ON(task_queue_); |
+ std::deque<std::unique_ptr<rtclog::Event>> history_ |
+ RTC_ACCESS_ON(task_queue_); |
- std::unique_ptr<FileWrapper> file_ ACCESS_ON(task_queue_); |
+ std::unique_ptr<FileWrapper> file_ RTC_ACCESS_ON(task_queue_); |
- size_t max_size_bytes_ ACCESS_ON(task_queue_); |
- size_t written_bytes_ ACCESS_ON(task_queue_); |
+ size_t max_size_bytes_ RTC_ACCESS_ON(task_queue_); |
+ size_t written_bytes_ RTC_ACCESS_ON(task_queue_); |
// Keep this last to ensure it destructs first, or else tasks living on the |
// queue might access other members after they've been torn down. |