Index: webrtc/system_wrappers/include/metrics.h |
diff --git a/webrtc/system_wrappers/include/metrics.h b/webrtc/system_wrappers/include/metrics.h |
index ce193bdc39bc897bc10431ffff2ba27075267718..f4564a19b3da143ee4f4790fa6b1fa342804e783 100644 |
--- a/webrtc/system_wrappers/include/metrics.h |
+++ b/webrtc/system_wrappers/include/metrics.h |
@@ -187,8 +187,7 @@ |
#define RTC_HISTOGRAMS_COMMON(index, name, sample, macro_invocation) \ |
do { \ |
- RTC_DCHECK(index >= 0); \ |
- RTC_DCHECK(index <= 2); \ |
+ RTC_DCHECK_LE(index, 2u); \ |
switch (index) { \ |
case 0: \ |
macro_invocation; \ |