mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibGfx: Templatize Point, Size, and Rect
This commit is contained in:
parent
7a1c328417
commit
335916d8db
Notes:
sideshowbarker
2024-07-19 04:34:50 +09:00
Author: https://github.com/mattco98
Commit: 335916d8db
Pull-request: https://github.com/SerenityOS/serenity/pull/2888
Reviewed-by: https://github.com/awesomekling
33 changed files with 404 additions and 835 deletions
|
@ -90,7 +90,7 @@ void LayoutFrame::did_set_rect()
|
|||
LayoutReplaced::did_set_rect();
|
||||
|
||||
ASSERT(node().hosted_frame());
|
||||
node().hosted_frame()->set_size(size().to_int_size());
|
||||
node().hosted_frame()->set_size(size().to_type<int>());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue