diff --git a/Userland/Libraries/LibWeb/Painting/Command.h b/Userland/Libraries/LibWeb/Painting/Command.h index be22bfc51e1..17660bba2b1 100644 --- a/Userland/Libraries/LibWeb/Painting/Command.h +++ b/Userland/Libraries/LibWeb/Painting/Command.h @@ -353,6 +353,8 @@ struct AddMask { RefPtr display_list; Gfx::IntRect rect; + [[nodiscard]] Gfx::IntRect bounding_rect() const { return rect; } + void translate_by(Gfx::IntPoint const& offset) { rect.translate_by(offset);