mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibHTML: Use LayoutBlock::add_line_box() in LayoutBreak
This commit is contained in:
parent
44979ad7a5
commit
aefc7f9b22
Notes:
sideshowbarker
2024-07-19 11:42:06 +09:00
Author: https://github.com/awesomekling
Commit: aefc7f9b22
1 changed files with 1 additions and 1 deletions
|
@ -13,5 +13,5 @@ LayoutBreak::~LayoutBreak()
|
||||||
|
|
||||||
void LayoutBreak::split_into_lines(LayoutBlock& block)
|
void LayoutBreak::split_into_lines(LayoutBlock& block)
|
||||||
{
|
{
|
||||||
block.line_boxes().append(LineBox());
|
block.add_line_box();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue