summaryrefslogtreecommitdiffstats
path: root/base/message_pump_win.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 20:34:25 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 20:34:25 +0000
commit8e03fec1b3cc0dd2e6f25cf943914e9e760b187a (patch)
tree496c8a1b46ee18a7ce7537539c5d207e4bf5396f /base/message_pump_win.cc
parent2fc8f49dff31f79bff73b3491f3d07c8a0dfb9d5 (diff)
downloadchromium_src-8e03fec1b3cc0dd2e6f25cf943914e9e760b187a.zip
chromium_src-8e03fec1b3cc0dd2e6f25cf943914e9e760b187a.tar.gz
chromium_src-8e03fec1b3cc0dd2e6f25cf943914e9e760b187a.tar.bz2
Use DCHECK_GE() where possible in base/. Patch by Kushal Pisavadia (see http://codereview.chromium.org/6688056/ ), r=me.
BUG=58409 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_win.cc')
-rw-r--r--base/message_pump_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/message_pump_win.cc b/base/message_pump_win.cc
index 1924081..9d0ec53 100644
--- a/base/message_pump_win.cc
+++ b/base/message_pump_win.cc
@@ -123,7 +123,7 @@ void MessagePumpForUI::ScheduleDelayedWork(const TimeTicks& delayed_work_time) {
delayed_work_time_ = delayed_work_time;
int delay_msec = GetCurrentDelay();
- DCHECK(delay_msec >= 0);
+ DCHECK_GE(delay_msec, 0);
if (delay_msec < USER_TIMER_MINIMUM)
delay_msec = USER_TIMER_MINIMUM;