mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +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: https://github.com/LadybirdBrowser/ladybird/commit/267420d5aa6 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);
|
||||
}
|
||||
|
||||
Layout::ImageBox const& ImagePaintable::layout_box() const
|
||||
{
|
||||
return static_cast<Layout::ImageBox const&>(layout_node());
|
||||
}
|
||||
|
||||
void ImagePaintable::paint(PaintContext& context, PaintPhase phase) const
|
||||
{
|
||||
if (!is_visible())
|
||||
|
|
|
@ -22,8 +22,6 @@ public:
|
|||
|
||||
virtual void paint(PaintContext&, PaintPhase) const override;
|
||||
|
||||
Layout::ImageBox const& layout_box() const;
|
||||
|
||||
private:
|
||||
// ^JS::Cell
|
||||
virtual void visit_edges(Visitor&) override;
|
||||
|
|
Loading…
Add table
Reference in a new issue