Index: gpu/perftests/measurements.cc |
diff --git a/gpu/perftests/measurements.cc b/gpu/perftests/measurements.cc |
index 8909b28c12b97ebb62b5c7a28d58d3e11cfdb23e..0f5932fde2c1bb5fe0acb18f981f821789668337 100644 |
--- a/gpu/perftests/measurements.cc |
+++ b/gpu/perftests/measurements.cc |
@@ -4,6 +4,8 @@ |
#include "gpu/perftests/measurements.h" |
+#include <stdint.h> |
+ |
#include "base/logging.h" |
#include "testing/perf/perf_test.h" |
#include "ui/gl/gpu_timing.h" |
@@ -88,7 +90,7 @@ Measurement MeasurementTimers::GetAsMeasurement(const std::string& name) { |
if (!base::ThreadTicks::IsSupported()) { |
cpu_time_ = base::TimeDelta::FromMicroseconds(-1); |
} |
- int64 gpu_time = -1; |
+ int64_t gpu_time = -1; |
if (gpu_timer_.get() != nullptr && gpu_timer_->IsAvailable()) { |
gpu_time = gpu_timer_->GetDeltaElapsed(); |
} |