mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
LibJS: Convert to_u8_clamp() to ThrowCompletionOr
This commit is contained in:
parent
99287afc99
commit
750da61c0f
Notes:
sideshowbarker
2024-07-18 02:12:19 +09:00
Author: https://github.com/IdanHo
Commit: 750da61c0f
Pull-request: https://github.com/SerenityOS/serenity/pull/10522
Reviewed-by: https://github.com/linusg ✅
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue