LibJS: Convert to_u8_clamp() to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-17 23:50:06 +03:00
commit 750da61c0f
Notes: sideshowbarker 2024-07-18 02:12:19 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -321,7 +321,7 @@ public:
ThrowCompletionOr<u16> to_u16(GlobalObject&) const;
ThrowCompletionOr<i8> to_i8(GlobalObject&) const;
ThrowCompletionOr<u8> to_u8(GlobalObject&) const;
u8 to_u8_clamp(GlobalObject&) const;
ThrowCompletionOr<u8> to_u8_clamp(GlobalObject&) const;
size_t to_length(GlobalObject&) const;
size_t to_index(GlobalObject&) const;
double to_integer_or_infinity(GlobalObject&) const;