LibJS: Do not fully qualify references to CanonicalizeUnicodeLocaleId

This might've been needed at some point to disambiguate between another
function of the same name that is in LibLocale. But now that it takes a
VM parameter, it is for sure clear to the compiler what is being called.
This commit is contained in:
Timothy Flynn 2023-01-19 11:40:17 -05:00 committed by Linus Groh
commit 2f1184ccdb
Notes: sideshowbarker 2024-07-17 22:41:14 +09:00
3 changed files with 5 additions and 5 deletions

View file

@ -116,7 +116,7 @@ ThrowCompletionOr<Value> canonical_code_for_display_names(VM& vm, DisplayNames::
// c. Return ! CanonicalizeUnicodeLocaleId(code).
// NOTE: We TRY this operation only to propagate OOM errors.
auto canonicalized_tag = TRY(JS::Intl::canonicalize_unicode_locale_id(vm, *locale_id));
auto canonicalized_tag = TRY(canonicalize_unicode_locale_id(vm, *locale_id));
return PrimitiveString::create(vm, move(canonicalized_tag));
}