Index: base/time/time_win.cc |
diff --git a/base/time/time_win.cc b/base/time/time_win.cc |
index 8ae76404f0a3c1b42aeb71545758de2892b1dd5f..d2403f21b7ff5538f0449bde39e423a5777f8998 100644 |
--- a/base/time/time_win.cc |
+++ b/base/time/time_win.cc |
@@ -203,12 +203,12 @@ bool Time::ActivateHighResolutionTimer(bool activating) { |
UINT period = g_high_res_timer_enabled ? kMinTimerIntervalHighResMs |
: kMinTimerIntervalLowResMs; |
if (activating) { |
- DCHECK(g_high_res_timer_count != max); |
+ DCHECK_NE(g_high_res_timer_count, max); |
++g_high_res_timer_count; |
if (g_high_res_timer_count == 1) |
timeBeginPeriod(period); |
} else { |
- DCHECK(g_high_res_timer_count != 0); |
+ DCHECK_NE(g_high_res_timer_count, 0u); |
--g_high_res_timer_count; |
if (g_high_res_timer_count == 0) |
timeEndPeriod(period); |