LibGfx: Templatize Point, Size, and Rect

This commit is contained in:
Matthew Olsson 2020-07-25 21:31:47 -07:00 committed by Andreas Kling
commit 335916d8db
Notes: sideshowbarker 2024-07-19 04:34:50 +09:00
33 changed files with 404 additions and 835 deletions

View file

@ -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>());
}
}