Switch to standard integer types in base/.
BUG=138542
TBR=mark@chromium.org
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1538743002
Cr-Commit-Position: refs/heads/master@{#366910}
CrOS-Libchrome-Original-Commit: 9b6f42934e5a1e65ebfc668d91a28a6e2678a14c
diff --git a/base/task/cancelable_task_tracker.cc b/base/task/cancelable_task_tracker.cc
index a2e4799..a756f4e 100644
--- a/base/task/cancelable_task_tracker.cc
+++ b/base/task/cancelable_task_tracker.cc
@@ -4,6 +4,8 @@
#include "base/task/cancelable_task_tracker.h"
+#include <stddef.h>
+
#include <utility>
#include "base/bind.h"
@@ -92,7 +94,7 @@
CancellationFlag* flag = new CancellationFlag();
TaskId id = next_id_;
- next_id_++; // int64 is big enough that we ignore the potential overflow.
+ next_id_++; // int64_t is big enough that we ignore the potential overflow.
const Closure& untrack_closure =
Bind(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id);
@@ -117,7 +119,7 @@
DCHECK(base::ThreadTaskRunnerHandle::IsSet());
TaskId id = next_id_;
- next_id_++; // int64 is big enough that we ignore the potential overflow.
+ next_id_++; // int64_t is big enough that we ignore the potential overflow.
// Will be deleted by |untrack_and_delete_flag| after Untrack().
CancellationFlag* flag = new CancellationFlag();