Index: sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
index 43458619d6e5f3c5f85fa9be475aa28b6c14bc58..9400f5f42438f03d72286f25be1959f7b2e9d1b4 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
@@ -161,7 +161,7 @@ function(cls, desc) { |
compiler.findHelper(const SourceString('convertDartClosureToJS')); |
String closureConverter = backend.namer.isolateAccess(converter); |
Set<String> stubParameterNames = new Set<String>.from( |
- stubParameters.mappedBy((param) => param.name)); |
+ stubParameters.map((param) => param.name)); |
parameters.forEachParameter((Element parameter) { |
String name = parameter.name.slowToString(); |
// If [name] is not in [stubParameters], then the parameter is an optional |
@@ -255,7 +255,7 @@ function(cls, desc) { |
js.use('Object').dot('prototype').dot(methodName).dot('call') |
.callWith( |
<js.Expression>[js.use('this')]..addAll( |
- parameters.mappedBy((param) => js.use(param.name)))))); |
+ parameters.map((param) => js.use(param.name)))))); |
} |
js.Block generateMethodBodyWithPrototypeCheckForElement( |
@@ -406,7 +406,7 @@ function(cls, desc) { |
// [['Node', 'Text|HTMLElement|HTMLDivElement|...'], ...] |
js.Expression table = |
new js.ArrayInitializer.from( |
- preorderDispatchClasses.mappedBy((cls) => |
+ preorderDispatchClasses.map((cls) => |
new js.ArrayInitializer.from([ |
js.string(toNativeTag(cls)), |
tagDefns[cls]]))); |