diff options
author | mjz19910 <matthias291999@gmail.com> | 2022-01-23 02:12:26 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-23 15:24:45 +0000 |
commit | 1ef633472b730ac173a9108226f8ebd7a73dbacf (patch) | |
tree | 90f60e5eb1fe8e4eb70b0a906bdd697bf508d32b /Meta/Lagom | |
parent | d436746c952fa904e53413279134266ce965a30e (diff) | |
download | serenity-1ef633472b730ac173a9108226f8ebd7a73dbacf.zip |
Everywhere: Convert VM::call() to JS::call()
Diffstat (limited to 'Meta/Lagom')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp index 78b4bf42d1..6390a86039 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp @@ -3237,7 +3237,7 @@ JS_DEFINE_NATIVE_FUNCTION(@prototype_class@::for_each) generate_variable_statement(iterator_generator, "wrapped_key", interface.pair_iterator_types->get<0>(), "key"); generate_variable_statement(iterator_generator, "wrapped_value", interface.pair_iterator_types->get<1>(), "value"); iterator_generator.append(R"~~~( - TRY(vm.call(callback.as_function(), vm.argument(1), wrapped_value, wrapped_key, this_value)); + TRY(call(global_object, callback.as_function(), vm.argument(1), wrapped_value, wrapped_key, this_value)); return {}; })); |