Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 3f581775f3e720c88421e661677a0b0531bb2f94..acc0edc13f962e6c8f114194b1719532d32e4ba2 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -58,7 +58,7 @@ import '../universe/world_impact.dart' |
WorldImpactVisitor, |
StagedWorldImpactBuilder; |
import '../util/util.dart'; |
-import '../world.dart' show ClassWorld; |
+import '../world.dart' show ClosedWorld; |
import 'backend_helpers.dart'; |
import 'backend_impact.dart'; |
import 'backend_serialization.dart' show JavaScriptBackendSerialization; |
@@ -983,11 +983,11 @@ class JavaScriptBackend extends Backend { |
} |
Set<ClassElement> nativeSubclassesOfMixin(ClassElement mixin) { |
- ClassWorld classWorld = compiler.closedWorld; |
- Iterable<MixinApplicationElement> uses = classWorld.mixinUsesOf(mixin); |
+ ClosedWorld closedWorld = compiler.closedWorld; |
+ Iterable<MixinApplicationElement> uses = closedWorld.mixinUsesOf(mixin); |
Set<ClassElement> result = null; |
for (MixinApplicationElement use in uses) { |
- classWorld.forEachStrictSubclassOf(use, (ClassElement subclass) { |
+ closedWorld.forEachStrictSubclassOf(use, (ClassElement subclass) { |
if (isNativeOrExtendsNative(subclass)) { |
if (result == null) result = new Set<ClassElement>(); |
result.add(subclass); |