summaryrefslogtreecommitdiffstats
path: root/remoting/base
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base')
-rw-r--r--remoting/base/auto_thread_task_runner.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/remoting/base/auto_thread_task_runner.cc b/remoting/base/auto_thread_task_runner.cc
index 8d995a2..6d5f0b5 100644
--- a/remoting/base/auto_thread_task_runner.cc
+++ b/remoting/base/auto_thread_task_runner.cc
@@ -40,20 +40,14 @@ bool AutoThreadTaskRunner::PostDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) {
- // CHECK() makes sure that |task_runner_| is still running, - the assumption
- // made by |AutoThreadTaskRunner| owners.
- CHECK(task_runner_->PostDelayedTask(from_here, task, delay));
- return true;
+ return task_runner_->PostDelayedTask(from_here, task, delay);
}
bool AutoThreadTaskRunner::PostNonNestableDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) {
- // CHECK() makes sure that |task_runner_| is still running, - the assumption
- // made by |AutoThreadTaskRunner| owners.
- CHECK(task_runner_->PostNonNestableDelayedTask(from_here, task, delay));
- return true;
+ return task_runner_->PostNonNestableDelayedTask(from_here, task, delay);
}
bool AutoThreadTaskRunner::RunsTasksOnCurrentThread() const {