diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp index b4d7325868..e510e47e32 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibWeb/Bindings/HTMLModElementPrototype.h> #include <LibWeb/HTML/HTMLModElement.h> #include <LibWeb/HTML/Window.h> @@ -13,7 +12,7 @@ namespace Web::HTML { HTMLModElement::HTMLModElement(DOM::Document& document, DOM::QualifiedName qualified_name) : HTMLElement(document, move(qualified_name)) { - set_prototype(&window().ensure_web_prototype<Bindings::HTMLModElementPrototype>("HTMLModElement")); + set_prototype(&window().cached_web_prototype("HTMLModElement")); } HTMLModElement::~HTMLModElement() = default; |