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

LibJS: Convert DisplayNames AOs to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-09-18 19:41:25 +03:00
parent 768009e005
commit e65aeee67d
3 changed files with 17 additions and 29 deletions

View file

@ -62,6 +62,6 @@ private:
Fallback m_fallback { Fallback::Invalid }; // [[Fallback]]
};
Value canonical_code_for_display_names(GlobalObject& global_object, DisplayNames::Type type, StringView code);
ThrowCompletionOr<Value> canonical_code_for_display_names(GlobalObject& global_object, DisplayNames::Type type, StringView code);
}