mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
These classes only needed Window to get at its realm. Pass a realm directly to construct HTML classes.
19 lines
464 B
C++
19 lines
464 B
C++
/*
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/HTML/HTMLLIElement.h>
|
|
#include <LibWeb/HTML/Window.h>
|
|
|
|
namespace Web::HTML {
|
|
|
|
HTMLLIElement::HTMLLIElement(DOM::Document& document, DOM::QualifiedName qualified_name)
|
|
: HTMLElement(document, move(qualified_name))
|
|
{
|
|
set_prototype(&Bindings::cached_web_prototype(realm(), "HTMLLIElement"));
|
|
}
|
|
|
|
HTMLLIElement::~HTMLLIElement() = default;
|
|
}
|