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

Unified Diff: webrtc/base/event.cc

Issue 1335923002: Add RTC_ prefix to (D)CHECKs and related macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 5 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
« no previous file with comments | « webrtc/base/criticalsection.cc ('k') | webrtc/base/filerotatingstream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/event.cc
diff --git a/webrtc/base/event.cc b/webrtc/base/event.cc
index 999db38853c687e0a3ec193615a1c8571ec6c7e3..a9af20863194c02de5a9234b20966f60089c24ca 100644
--- a/webrtc/base/event.cc
+++ b/webrtc/base/event.cc
@@ -31,7 +31,7 @@ Event::Event(bool manual_reset, bool initially_signaled) {
manual_reset,
initially_signaled,
NULL); // Name.
- CHECK(event_handle_);
+ RTC_CHECK(event_handle_);
}
Event::~Event() {
@@ -56,8 +56,8 @@ bool Event::Wait(int milliseconds) {
Event::Event(bool manual_reset, bool initially_signaled)
: is_manual_reset_(manual_reset),
event_status_(initially_signaled) {
- CHECK(pthread_mutex_init(&event_mutex_, NULL) == 0);
- CHECK(pthread_cond_init(&event_cond_, NULL) == 0);
+ RTC_CHECK(pthread_mutex_init(&event_mutex_, NULL) == 0);
+ RTC_CHECK(pthread_cond_init(&event_cond_, NULL) == 0);
}
Event::~Event() {
« no previous file with comments | « webrtc/base/criticalsection.cc ('k') | webrtc/base/filerotatingstream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698