/src/serenity/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2020, the SerenityOS developers. |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Bindings/HTMLPictureElementPrototype.h> |
8 | | #include <LibWeb/Bindings/Intrinsics.h> |
9 | | #include <LibWeb/HTML/HTMLPictureElement.h> |
10 | | |
11 | | namespace Web::HTML { |
12 | | |
13 | | JS_DEFINE_ALLOCATOR(HTMLPictureElement); |
14 | | |
15 | | HTMLPictureElement::HTMLPictureElement(DOM::Document& document, DOM::QualifiedName qualified_name) |
16 | 0 | : HTMLElement(document, move(qualified_name)) |
17 | 0 | { |
18 | 0 | } |
19 | | |
20 | 0 | HTMLPictureElement::~HTMLPictureElement() = default; |
21 | | |
22 | | void HTMLPictureElement::initialize(JS::Realm& realm) |
23 | 0 | { |
24 | 0 | Base::initialize(realm); |
25 | 0 | WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLPictureElement); |
26 | 0 | } |
27 | | |
28 | | } |