mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
LibWeb: Remove ImagePaintable::layout_box()
This was not used.
This commit is contained in:
parent
b64df59cc6
commit
267420d5aa
Notes:
github-actions[bot]
2024-08-29 04:29:39 +00:00
Author: https://github.com/tcl3
Commit: 267420d5aa
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1198
2 changed files with 0 additions and 7 deletions
|
@ -49,11 +49,6 @@ void ImagePaintable::finalize()
|
||||||
document().unregister_viewport_client(*this);
|
document().unregister_viewport_client(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout::ImageBox const& ImagePaintable::layout_box() const
|
|
||||||
{
|
|
||||||
return static_cast<Layout::ImageBox const&>(layout_node());
|
|
||||||
}
|
|
||||||
|
|
||||||
void ImagePaintable::paint(PaintContext& context, PaintPhase phase) const
|
void ImagePaintable::paint(PaintContext& context, PaintPhase phase) const
|
||||||
{
|
{
|
||||||
if (!is_visible())
|
if (!is_visible())
|
||||||
|
|
|
@ -22,8 +22,6 @@ public:
|
||||||
|
|
||||||
virtual void paint(PaintContext&, PaintPhase) const override;
|
virtual void paint(PaintContext&, PaintPhase) const override;
|
||||||
|
|
||||||
Layout::ImageBox const& layout_box() const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// ^JS::Cell
|
// ^JS::Cell
|
||||||
virtual void visit_edges(Visitor&) override;
|
virtual void visit_edges(Visitor&) override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue