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

Unified Diff: webrtc/common_audio/real_fourier.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/common_audio/lapped_transform_unittest.cc ('k') | webrtc/common_audio/real_fourier_ooura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/real_fourier.cc
diff --git a/webrtc/common_audio/real_fourier.cc b/webrtc/common_audio/real_fourier.cc
index 29b704bd63e5742fffbe8d320f853349b14f619c..fef3c60c4cd731181fd603f293adaad3547a7215 100644
--- a/webrtc/common_audio/real_fourier.cc
+++ b/webrtc/common_audio/real_fourier.cc
@@ -30,12 +30,12 @@ rtc::scoped_ptr<RealFourier> RealFourier::Create(int fft_order) {
}
int RealFourier::FftOrder(size_t length) {
- CHECK_GT(length, 0U);
+ RTC_CHECK_GT(length, 0U);
return WebRtcSpl_GetSizeInBits(static_cast<uint32_t>(length - 1));
}
size_t RealFourier::FftLength(int order) {
- CHECK_GE(order, 0);
+ RTC_CHECK_GE(order, 0);
return static_cast<size_t>(1 << order);
}
« no previous file with comments | « webrtc/common_audio/lapped_transform_unittest.cc ('k') | webrtc/common_audio/real_fourier_ooura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698