Index: sdk/lib/_internal/js_runtime/lib/core_patch.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/core_patch.dart b/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
index 22186f69c49787786e367ae9f68195c1d74dad25..971b37f96e36270c2b6726a7f0ba5f2b83033563 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
@@ -74,7 +74,7 @@ class Function { |
static apply(Function function, |
List positionalArguments, |
[Map<Symbol, dynamic> namedArguments]) { |
- return Primitives.applyFunctionNewEmitter(function, positionalArguments, |
+ return Primitives.applyFunction2(function, positionalArguments, |
namedArguments == null ? null : _symbolMapToStringMap(namedArguments)); |
} |
@@ -82,7 +82,7 @@ class Function { |
static apply(Function function, |
List positionalArguments, |
[Map<Symbol, dynamic> namedArguments]) { |
- return Primitives.applyFunctionNewEmitter(function, positionalArguments, |
+ return Primitives.applyFunction2(function, positionalArguments, |
namedArguments == null ? null : _symbolMapToStringMap(namedArguments)); |
} |