/src/serenity/Userland/Libraries/LibWeb/Painting/SVGMaskPaintable.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2024, MacDue <macdue@dueutil.tech> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Painting/SVGMaskPaintable.h> |
8 | | |
9 | | namespace Web::Painting { |
10 | | |
11 | | JS_DEFINE_ALLOCATOR(SVGMaskPaintable); |
12 | | |
13 | | JS::NonnullGCPtr<SVGMaskPaintable> SVGMaskPaintable::create(Layout::SVGMaskBox const& layout_box) |
14 | 0 | { |
15 | 0 | return layout_box.heap().allocate_without_realm<SVGMaskPaintable>(layout_box); |
16 | 0 | } |
17 | | |
18 | | SVGMaskPaintable::SVGMaskPaintable(Layout::SVGMaskBox const& layout_box) |
19 | 0 | : SVGGraphicsPaintable(layout_box) |
20 | 0 | { |
21 | 0 | } |
22 | | |
23 | | } |