mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
committed by
Andreas Kling
parent
950e819ee7
commit
93712b24bf
22
Libraries/LibWeb/Layout/LabelableNode.cpp
Normal file
22
Libraries/LibWeb/Layout/LabelableNode.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Andreas Kling <andreas@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/Layout/LabelableNode.h>
|
||||
#include <LibWeb/Painting/LabelablePaintable.h>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
Painting::LabelablePaintable* LabelableNode::paintable()
|
||||
{
|
||||
return static_cast<Painting::LabelablePaintable*>(ReplacedBox::first_paintable());
|
||||
}
|
||||
|
||||
Painting::LabelablePaintable const* LabelableNode::paintable() const
|
||||
{
|
||||
return static_cast<Painting::LabelablePaintable const*>(ReplacedBox::first_paintable());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user