mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 08:03:21 +00:00
25 lines
324 B
C++
25 lines
324 B
C++
![]() |
/*
|
||
|
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <LibWeb/HTML/EventLoop/TaskQueue.h>
|
||
|
|
||
|
namespace Web::HTML {
|
||
|
|
||
|
TaskQueue::TaskQueue()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
TaskQueue::~TaskQueue()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void TaskQueue::add(NonnullOwnPtr<Task> task)
|
||
|
{
|
||
|
m_tasks.enqueue(move(task));
|
||
|
}
|
||
|
|
||
|
}
|