summaryrefslogtreecommitdiffstats
path: root/base/time_mac.cc
diff options
context:
space:
mode:
authorkushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-04 01:29:38 +0000
committerkushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-04 01:29:38 +0000
commite1be56dcd226056bb8af7f82bc1752bb289aa14b (patch)
tree46e3bf1eaa6d8d8c7f5180261643040c51e03e45 /base/time_mac.cc
parent15a2084decf18de467200317261d2d6c8d5e631b (diff)
downloadchromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.zip
chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.tar.gz
chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.tar.bz2
Updating logging in src/base/. Using DCHECK_NE/EQ/LE/GE/GT() where possible
BUG=58409 Review URL: http://codereview.chromium.org/6883295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_mac.cc')
-rw-r--r--base/time_mac.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/time_mac.cc b/base/time_mac.cc
index ad31410..25cf037 100644
--- a/base/time_mac.cc
+++ b/base/time_mac.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -112,7 +112,7 @@ TimeTicks TimeTicks::Now() {
// whether mach_timebase_info has already been called. This is
// recommended by Apple's QA1398.
kern_return_t kr = mach_timebase_info(&timebase_info);
- DCHECK(kr == KERN_SUCCESS);
+ DCHECK_EQ(KERN_SUCCESS, kr);
}
// mach_absolute_time is it when it comes to ticks on the Mac. Other calls