Serenity Operating System
1/*
2 * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#include <LibWeb/Layout/LabelableNode.h>
8#include <LibWeb/Painting/LabelablePaintable.h>
9
10namespace Web::Layout {
11
12Painting::LabelablePaintable* LabelableNode::paintable()
13{
14 return static_cast<Painting::LabelablePaintable*>(ReplacedBox::paintable());
15}
16
17Painting::LabelablePaintable const* LabelableNode::paintable() const
18{
19 return static_cast<Painting::LabelablePaintable const*>(ReplacedBox::paintable());
20}
21
22}