diff --git a/rtc_base/synchronization/sequence_checker.h b/rtc_base/synchronization/sequence_checker.h index 31314a477a..abf0ebfcfa 100644 --- a/rtc_base/synchronization/sequence_checker.h +++ b/rtc_base/synchronization/sequence_checker.h @@ -46,10 +46,6 @@ class RTC_LOCKABLE SequenceChecker : public webrtc_sequence_checker_internal::SequenceCheckerDoNothing {}; #endif // RTC_ENABLE_THREAD_CHECKER -namespace webrtc_seq_check_impl { -// TODO(titovartem): Remove when downstream deps are updated -using ::webrtc::webrtc_sequence_checker_internal::SequenceCheckerScope; -} // namespace webrtc_seq_check_impl } // namespace webrtc // RTC_RUN_ON/RTC_GUARDED_BY/RTC_DCHECK_RUN_ON macros allows to annotate @@ -117,16 +113,6 @@ using ::webrtc::webrtc_sequence_checker_internal::SequenceCheckerScope; #define RTC_RUN_ON(x) \ RTC_THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(x)) -namespace webrtc { - -// Deprecated. Do not use. -template -RTC_DEPRECATED std::string ExpectationToString(const ThreadLikeObject* o) { - return webrtc::webrtc_sequence_checker_internal::ExpectationToString(o); -} - -} // namespace webrtc - #define RTC_DCHECK_RUN_ON(x) \ webrtc::webrtc_sequence_checker_internal::SequenceCheckerScope scope(x); \ RTC_DCHECK((x)->IsCurrent()) \