/* * Copyright (c) 2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace Web::HTML { Task::Task(Source source, DOM::Document* document, Function steps) : m_source(source) , m_steps(move(steps)) , m_document(document) { } Task::~Task() { } void Task::execute() { m_steps(); } }