mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 05:38:24 +00:00
LibWeb: Remove box
argument from FormattingContext::run()
Root formatting context box is passed into constructor and saved in FC, so it's possible to access it from there instead of passing the same box into run().
This commit is contained in:
parent
67981af276
commit
623e358d7a
Notes:
github-actions[bot]
2024-09-11 07:31:05 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 623e358d7a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1367
15 changed files with 37 additions and 41 deletions
|
@ -21,7 +21,7 @@ public:
|
|||
explicit SVGFormattingContext(LayoutState&, Box const&, FormattingContext* parent, Gfx::AffineTransform parent_viewbox_transform = {});
|
||||
~SVGFormattingContext();
|
||||
|
||||
virtual void run(Box const&, LayoutMode, AvailableSpace const&) override;
|
||||
virtual void run(LayoutMode, AvailableSpace const&) override;
|
||||
virtual CSSPixels automatic_content_width() const override;
|
||||
virtual CSSPixels automatic_content_height() const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue