Index: gpu/perftests/measurements.cc |
diff --git a/gpu/perftests/measurements.cc b/gpu/perftests/measurements.cc |
index 645784d122f183758bc4b84058dc3d2a829f15df..8909b28c12b97ebb62b5c7a28d58d3e11cfdb23e 100644 |
--- a/gpu/perftests/measurements.cc |
+++ b/gpu/perftests/measurements.cc |
@@ -55,7 +55,7 @@ Measurement::~Measurement() { |
MeasurementTimers::MeasurementTimers(gfx::GPUTimingClient* gpu_timing_client) |
: wall_time_start_(), cpu_time_start_(), gpu_timer_() { |
DCHECK(gpu_timing_client); |
- wall_time_start_ = base::TraceTicks::Now(); |
+ wall_time_start_ = base::TimeTicks::Now(); |
if (base::ThreadTicks::IsSupported()) { |
base::ThreadTicks::WaitUntilInitialized(); |
cpu_time_start_ = base::ThreadTicks::Now(); |
@@ -72,7 +72,7 @@ MeasurementTimers::MeasurementTimers(gfx::GPUTimingClient* gpu_timing_client) |
} |
void MeasurementTimers::Record() { |
- wall_time_ = base::TraceTicks::Now() - wall_time_start_; |
+ wall_time_ = base::TimeTicks::Now() - wall_time_start_; |
if (base::ThreadTicks::IsSupported()) { |
cpu_time_ = base::ThreadTicks::Now() - cpu_time_start_; |
} |