summaryrefslogtreecommitdiff
path: root/base/profiler/tracked_time_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/profiler/tracked_time_unittest.cc')
-rw-r--r--base/profiler/tracked_time_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/profiler/tracked_time_unittest.cc b/base/profiler/tracked_time_unittest.cc
index c105688b31..f6d35baab3 100644
--- a/base/profiler/tracked_time_unittest.cc
+++ b/base/profiler/tracked_time_unittest.cc
@@ -4,6 +4,8 @@
// Test of classes in tracked_time.cc
+#include <stdint.h>
+
#include "base/profiler/tracked_time.h"
#include "base/time/time.h"
#include "base/tracked_objects.h"
@@ -14,8 +16,8 @@ namespace tracked_objects {
TEST(TrackedTimeTest, TrackedTimerMilliseconds) {
// First make sure we basicallly transfer simple milliseconds values as
// expected. Most critically, things should not become null.
- int32 kSomeMilliseconds = 243; // Some example times.
- int64 kReallyBigMilliseconds = (1LL << 35) + kSomeMilliseconds;
+ int32_t kSomeMilliseconds = 243; // Some example times.
+ int64_t kReallyBigMilliseconds = (1LL << 35) + kSomeMilliseconds;
TrackedTime some = TrackedTime() +
Duration::FromMilliseconds(kSomeMilliseconds);