mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +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
|
@ -36,7 +36,7 @@ public:
|
|||
InternalDummy, // Internal hack formatting context for unimplemented things. FIXME: Get rid of this.
|
||||
};
|
||||
|
||||
virtual void run(Box const&, LayoutMode, AvailableSpace const&) = 0;
|
||||
virtual void run(LayoutMode, AvailableSpace const&) = 0;
|
||||
|
||||
// This function returns the automatic content height of the context's root box.
|
||||
virtual CSSPixels automatic_content_width() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue