Index: sdk/lib/_internal/compiler/implementation/native_handler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/native_handler.dart b/sdk/lib/_internal/compiler/implementation/native_handler.dart |
index 58020b3590d2884e8dd46eefc7d9151cf436a18f..373f16e01f0482c238f2549719cbfe680e883cde 100644 |
--- a/sdk/lib/_internal/compiler/implementation/native_handler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/native_handler.dart |
@@ -362,7 +362,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer { |
cause, |
[String reason]) { |
Iterable matches = unusedClasses.where(predicate); |
- matches.toList().forEach((c) => enqueueClass(c, cause)); |
+ matches.forEach((c) => enqueueClass(c, cause)); |
} |
onFirstNativeClass() { |