1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:37:44 +00:00

LibJS: Remove as_size_t()

Just like to_size_t() - which was already removed in f369229 - this is
non-standard, use to_length() instead. One remaining use was removed,
and I'm glad it's gone. :^)
This commit is contained in:
Linus Groh 2021-03-22 22:56:47 +01:00 committed by Andreas Kling
parent a1014d25de
commit 40eab55e7d
3 changed files with 3 additions and 8 deletions

View file

@ -261,7 +261,6 @@ public:
i32 as_i32() const;
u32 as_u32() const;
size_t as_size_t() const;
String to_string(GlobalObject&, bool legacy_null_to_empty_string = false) const;
PrimitiveString* to_primitive_string(GlobalObject&);