| Index: base/task/cancelable_task_tracker.cc
|
| diff --git a/base/task/cancelable_task_tracker.cc b/base/task/cancelable_task_tracker.cc
|
| index a2e4799f43854485f9d077c27155683ab66ccf47..a756f4ec3eec50b56a12321cac4ad46f3cd5785c 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 @@ CancelableTaskTracker::TaskId CancelableTaskTracker::PostTaskAndReply(
|
| 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 @@ CancelableTaskTracker::TaskId CancelableTaskTracker::NewTrackedTaskId(
|
| 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();
|
|
|