diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp b/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp index 70bb64ef24..7a90ec5b67 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp @@ -40,7 +40,7 @@ void Intl::initialize(GlobalObject& global_object) } // 8.3.1 Intl.getCanonicalLocales ( locales ), https://tc39.es/ecma402/#sec-intl.getcanonicallocales -JS_DEFINE_NATIVE_FUNCTION(Intl::get_canonical_locales) +JS_DEFINE_OLD_NATIVE_FUNCTION(Intl::get_canonical_locales) { auto locales = vm.argument(0); |