diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
commit | 52a261f59b20e89f8c5936bce642362f8e367b57 (patch) | |
tree | fcc7b3c100caaf43848cd9a241beafc883f93b7d /base/time_posix.cc | |
parent | 7d926f9072ac496db6df715cc6a6bd5d3f9bd011 (diff) | |
download | chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.zip chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.gz chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.bz2 |
NO CODE CHANGE (except one global std::wstring changed to const wchar_t* const per style compliance).
Preliminary work to enforce new PRESUBMIT.py rules:
- <=80 cols
- no trailing whitespaces
- svn:eol-style=LF
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_posix.cc')
-rw-r--r-- | base/time_posix.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/time_posix.cc b/base/time_posix.cc index 9532620..894d1af 100644 --- a/base/time_posix.cc +++ b/base/time_posix.cc @@ -4,8 +4,8 @@ #include "base/time.h" -#ifdef OS_MACOSX -#include <mach/mach_time.h> +#ifdef OS_MACOSX +#include <mach/mach_time.h> #endif #include <sys/time.h> #include <time.h> @@ -126,9 +126,9 @@ TimeTicks TimeTicks::Now() { uint64_t absolute_micro; #if defined(OS_MACOSX) - static mach_timebase_info_data_t timebase_info; - if (timebase_info.denom == 0) { - // Zero-initialization of statics guarantees that denom will be 0 before + static mach_timebase_info_data_t timebase_info; + if (timebase_info.denom == 0) { + // Zero-initialization of statics guarantees that denom will be 0 before // calling mach_timebase_info. mach_timebase_info will never set denom to // 0 as that would be invalid, so the zero-check can be used to determine // whether mach_timebase_info has already been called. This is |