LibWeb: Make fragment start/length size_t instead of int

These must always be unsigned. No functional changes.
This commit is contained in:
Jelle Raaijmakers 2025-06-11 09:07:16 +02:00 committed by Jelle Raaijmakers
commit 9126507dc6
Notes: github-actions[bot] 2025-06-13 13:10:39 +00:00
9 changed files with 19 additions and 22 deletions

View file

@ -11,7 +11,7 @@
namespace Web::Layout {
LineBoxFragment::LineBoxFragment(Node const& layout_node, int start, int length, CSSPixels inline_offset, CSSPixels block_offset, CSSPixels inline_length, CSSPixels block_length, CSSPixels border_box_top, CSS::Direction direction, CSS::WritingMode writing_mode, RefPtr<Gfx::GlyphRun> glyph_run)
LineBoxFragment::LineBoxFragment(Node const& layout_node, size_t start, size_t length, CSSPixels inline_offset, CSSPixels block_offset, CSSPixels inline_length, CSSPixels block_length, CSSPixels border_box_top, CSS::Direction direction, CSS::WritingMode writing_mode, RefPtr<Gfx::GlyphRun> glyph_run)
: m_layout_node(layout_node)
, m_start(start)
, m_length(length)