mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 10:50:49 +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
|
@ -1147,7 +1147,6 @@ void Document::update_layout()
|
|||
}
|
||||
|
||||
root_formatting_context.run(
|
||||
*m_layout_root,
|
||||
Layout::LayoutMode::Normal,
|
||||
Layout::AvailableSpace(
|
||||
Layout::AvailableSize::make_definite(viewport_rect.width()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue