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

Unified Diff: base/time_win.cc

Issue 3068010: Change a DCHECK to a DCHECK_LT so we can see the failing values. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time_win.cc
diff --git a/base/time_win.cc b/base/time_win.cc
index d4da0f466c9e49b2064e4c642e8b2b4bf9c1ff85..872fd978ca2a9846c4f724a85de84a7bfe983ec9 100644
--- a/base/time_win.cc
+++ b/base/time_win.cc
@@ -338,7 +338,7 @@ class HighResNowSingleton {
int64 now = UnreliableNow();
// Verify that QPC does not seem to drift.
- DCHECK(now - ReliableNow() - skew_ < kMaxTimeDrift);
+ DCHECK_LT(now - ReliableNow() - skew_, kMaxTimeDrift);
return TimeDelta::FromMicroseconds(now);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698