1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibWeb: Remove vestigial resolve_definite_width/height helper functions

These functions no longer do anything interesting and just forward to
content_width/content_height. Let's make the callers use those directly
instead and remove this indirection layer.
This commit is contained in:
Andreas Kling 2023-05-01 17:49:31 +02:00
parent e98315de6b
commit deea7cbc11
4 changed files with 6 additions and 31 deletions

View file

@ -145,9 +145,6 @@ struct LayoutState {
HashTable<JS::GCPtr<Box const>> m_floating_descendants;
};
CSSPixels resolved_definite_width(Box const&) const;
CSSPixels resolved_definite_height(Box const&) const;
void commit();
// NOTE: get_mutable() will CoW the UsedValues if it's inherited from an ancestor state;