summaryrefslogtreecommitdiffstats
path: root/base/profiler/tracked_time.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/profiler/tracked_time.cc')
-rw-r--r--base/profiler/tracked_time.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/profiler/tracked_time.cc b/base/profiler/tracked_time.cc
index 0121038..e5da68f 100644
--- a/base/profiler/tracked_time.cc
+++ b/base/profiler/tracked_time.cc
@@ -51,15 +51,7 @@ TrackedTime::TrackedTime(const base::TimeTicks& time)
// static
TrackedTime TrackedTime::Now() {
-#if defined(OS_WIN)
- // Use lock-free accessor to 32 bit time.
- // Note that TimeTicks::Now() is built on this, so we have "compatible"
- // times when we down-convert a TimeTicks sample.
- return TrackedTime(base::TimeTicks::UnprotectedNow());
-#else
- // Posix has nice cheap 64 bit times, so we just down-convert it.
return TrackedTime(base::TimeTicks::Now());
-#endif // OS_WIN
}
Duration TrackedTime::operator-(const TrackedTime& other) const {