Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h

Issue 3010223002: Update thread annotiation macros in modules to use RTC_ prefix (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h b/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
index eb552b84e1ef3affd22727392f0b9c83c9239d41..a84e2d35cf8408ef1ca427f1c115dc6776c56600 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h
@@ -126,13 +126,14 @@ class RTPPayloadRegistry {
uint32_t ssrc_rtx_;
// Only warn once per payload type, if an RTX packet is received but
// no associated payload type found in |rtx_payload_type_map_|.
- std::set<int> payload_types_with_suppressed_warnings_ GUARDED_BY(crit_sect_);
+ std::set<int> payload_types_with_suppressed_warnings_
+ RTC_GUARDED_BY(crit_sect_);
// As a first step in splitting this class up in separate cases for audio and
// video, DCHECK that no instance is used for both audio and video.
#if RTC_DCHECK_IS_ON
- bool used_for_audio_ GUARDED_BY(crit_sect_) = false;
- bool used_for_video_ GUARDED_BY(crit_sect_) = false;
+ bool used_for_audio_ RTC_GUARDED_BY(crit_sect_) = false;
+ bool used_for_video_ RTC_GUARDED_BY(crit_sect_) = false;
#endif
};
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/flexfec_receiver.h ('k') | webrtc/modules/rtp_rtcp/source/playout_delay_oracle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698