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

Unified Diff: ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc

Issue 559713004: ozone: evdev: Convert CHECKs to DCHECKs per style guide (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc
diff --git a/ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc b/ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc
index 92f15b77825ee1e0c073d1753b8763c8aca5e567..6aad16196b2d0119b0555418e6985b4047b930fa 100644
--- a/ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc
+++ b/ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc
@@ -29,7 +29,7 @@ class GesturesTimer {
private:
void OnTimerExpired() {
struct timespec ts;
- CHECK(!clock_gettime(CLOCK_MONOTONIC, &ts));
+ DCHECK(!clock_gettime(CLOCK_MONOTONIC, &ts));
stime_t next_delay = callback_(StimeFromTimespec(&ts), callback_data_);
if (next_delay >= 0) {
timer_.Start(FROM_HERE,
« no previous file with comments | « ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698