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

Unified Diff: webrtc/rtc_base/thread_checker_unittest.cc

Issue 3011973002: Add thread annotation macros with 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
« webrtc/rtc_base/thread_annotations.h ('K') | « webrtc/rtc_base/thread_checker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/thread_checker_unittest.cc
diff --git a/webrtc/rtc_base/thread_checker_unittest.cc b/webrtc/rtc_base/thread_checker_unittest.cc
index d8ad8308624250e43b02c1555e591300a6b1db03..ba5c695801ffd28b73f18f9e1227a2d0e9062b60 100644
--- a/webrtc/rtc_base/thread_checker_unittest.cc
+++ b/webrtc/rtc_base/thread_checker_unittest.cc
@@ -241,16 +241,16 @@ class ThreadAnnotateTest {
}
private:
- void function() RUN_ON(thread_) {}
- void fun_acccess_var() RUN_ON(thread_) { var_thread_ = 13; }
+ void function() RTC_RUN_ON(thread_) {}
+ void fun_acccess_var() RTC_RUN_ON(thread_) { var_thread_ = 13; }
rtc::Thread* thread_;
rtc::ThreadChecker checker_;
rtc::TaskQueue* queue_;
- int var_thread_ ACCESS_ON(thread_);
- int var_checker_ GUARDED_BY(checker_);
- int var_queue_ ACCESS_ON(queue_);
+ int var_thread_ RTC_ACCESS_ON(thread_);
+ int var_checker_ RTC_GUARDED_BY(checker_);
+ int var_queue_ RTC_ACCESS_ON(queue_);
};
// Just in case we ever get lumped together with other compilation units.
« webrtc/rtc_base/thread_annotations.h ('K') | « webrtc/rtc_base/thread_checker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698