1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:58:14 +00:00

LibJS: Convert Intl.getCanonicalLocales() function to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-22 22:45:54 +01:00
parent 79bcfa967b
commit 68df9e4dfb
2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ public:
virtual ~Intl() override = default;
private:
JS_DECLARE_OLD_NATIVE_FUNCTION(get_canonical_locales);
JS_DECLARE_NATIVE_FUNCTION(get_canonical_locales);
};
}