From ed992ae6a1b6274d6f7e625d6e93e0ea0689fb24 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 18 Dec 2017 10:56:18 +1100 Subject: [PATCH] trackable_object has moved to base namespace --- atom/app/uv_task_runner.cc | 4 ++-- atom/app/uv_task_runner.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/atom/app/uv_task_runner.cc b/atom/app/uv_task_runner.cc index 7ed8b0321120..7f998417c039 100644 --- a/atom/app/uv_task_runner.cc +++ b/atom/app/uv_task_runner.cc @@ -20,7 +20,7 @@ UvTaskRunner::~UvTaskRunner() { } } -bool UvTaskRunner::PostDelayedTask(const tracked_objects::Location& from_here, +bool UvTaskRunner::PostDelayedTask(const base::Location& from_here, base::OnceClosure task, base::TimeDelta delay) { auto* timer = new uv_timer_t; @@ -36,7 +36,7 @@ bool UvTaskRunner::RunsTasksInCurrentSequence() const { } bool UvTaskRunner::PostNonNestableDelayedTask( - const tracked_objects::Location& from_here, + const base::Location& from_here, base::OnceClosure task, base::TimeDelta delay) { return PostDelayedTask(from_here, std::move(task), delay); diff --git a/atom/app/uv_task_runner.h b/atom/app/uv_task_runner.h index b7f000d6fd95..660c1dcef6c0 100644 --- a/atom/app/uv_task_runner.h +++ b/atom/app/uv_task_runner.h @@ -8,6 +8,7 @@ #include #include "base/callback.h" +#include "base/location.h" #include "base/single_thread_task_runner.h" #include "vendor/node/deps/uv/include/uv.h" @@ -20,12 +21,12 @@ class UvTaskRunner : public base::SingleThreadTaskRunner { ~UvTaskRunner() override; // base::SingleThreadTaskRunner: - bool PostDelayedTask(const tracked_objects::Location& from_here, + bool PostDelayedTask(const base::Location& from_here, base::OnceClosure task, base::TimeDelta delay) override; bool RunsTasksInCurrentSequence() const override; bool PostNonNestableDelayedTask( - const tracked_objects::Location& from_here, + const base::Location& from_here, base::OnceClosure task, base::TimeDelta delay) override;