Index: lib/compiler/implementation/lib/isolate_patch.dart |
diff --git a/lib/compiler/implementation/lib/isolate_patch.dart b/lib/compiler/implementation/lib/isolate_patch.dart |
index 072d35ef80f913289627e46e1f2c76cb1c3622b5..58b8093692950567c4e21fe89d54409d7a74f43c 100644 |
--- a/lib/compiler/implementation/lib/isolate_patch.dart |
+++ b/lib/compiler/implementation/lib/isolate_patch.dart |
@@ -855,8 +855,8 @@ class _PendingSendPortFinder extends _MessageTraverser { |
_visited[map] = true; |
// TODO(sigmund): replace with the following: (bug #1660) |
- // map.getValues().forEach(_dispatch); |
- map.getValues().forEach((e) => _dispatch(e)); |
+ // map.values.forEach(_dispatch); |
+ map.values.forEach((e) => _dispatch(e)); |
} |
visitSendPort(SendPort port) { |
@@ -1153,8 +1153,8 @@ class _Serializer extends _MessageTraverser { |
int id = _nextFreeRefId++; |
_visited[map] = id; |
- var keys = _serializeList(map.getKeys()); |
- var values = _serializeList(map.getValues()); |
+ var keys = _serializeList(map.keys); |
+ var values = _serializeList(map.values); |
// TODO(floitsch): we are losing the generic type. |
return ['map', id, keys, values]; |
} |