diff options
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r-- | base/message_loop.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc index 84b6a04..7d2fbff 100644 --- a/base/message_loop.cc +++ b/base/message_loop.cc @@ -342,15 +342,6 @@ void MessageLoop::PostDelayedTask(const tracked_objects::Location& from_here, PostTaskInternal(task); } -void MessageLoop::PostSignaledTask(Task* task) { - DCHECK(!task->MissingBirthplace()); - task->ResetBirthTime(); - DCHECK(!task->is_owned_by_message_loop()); - task->set_posted_task_delay(0); // Run ASAP, and we take ownership. - DCHECK(task->is_owned_by_message_loop()); - PostTaskInternal(task); -} - void MessageLoop::PostTaskInternal(Task* task) { // Warning: Don't try to short-circuit, and handle this thread's tasks more // directly, as it could starve handling of foreign threads. Put every task |