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

Unified Diff: webrtc/base/timeutils.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/thread_checker_unittest.cc ('k') | webrtc/base/virtualsocketserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/timeutils.cc
diff --git a/webrtc/base/timeutils.cc b/webrtc/base/timeutils.cc
index 64dae2f9755bf0c534fe4ee769b9b21b35cfa041..ffaf3266cca360590e4511a54392bb98d616a8f5 100644
--- a/webrtc/base/timeutils.cc
+++ b/webrtc/base/timeutils.cc
@@ -42,7 +42,7 @@ uint64 TimeNanos() {
// Get the timebase if this is the first time we run.
// Recommended by Apple's QA1398.
if (mach_timebase_info(&timebase) != KERN_SUCCESS) {
- DCHECK(false);
+ RTC_DCHECK(false);
}
}
// Use timebase to convert absolute time tick units into nanoseconds.
@@ -136,8 +136,8 @@ void CurrentTmTime(struct tm *tm, int *microseconds) {
}
uint32 TimeAfter(int32 elapsed) {
- DCHECK_GE(elapsed, 0);
- DCHECK_LT(static_cast<uint32>(elapsed), HALF);
+ RTC_DCHECK_GE(elapsed, 0);
+ RTC_DCHECK_LT(static_cast<uint32>(elapsed), HALF);
return Time() + elapsed;
}
« no previous file with comments | « webrtc/base/thread_checker_unittest.cc ('k') | webrtc/base/virtualsocketserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698