Index: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart |
index 0f5f6beb57cf858d383cee66ef13dcea0076096c..07c32c033c03eccc116f8345772dff0d4104d458 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart |
@@ -536,7 +536,7 @@ class Namer implements ClosureNamer { |
return name; |
} |
- String getInterceptorSuffix(Collection<ClassElement> classes) { |
+ String getInterceptorSuffix(Iterable<ClassElement> classes) { |
String abbreviate(ClassElement cls) { |
if (cls == compiler.objectClass) return "o"; |
JavaScriptBackend backend = compiler.backend; |
@@ -565,7 +565,7 @@ class Namer implements ClosureNamer { |
return names.join(); |
} |
- String getInterceptorName(Element element, Collection<ClassElement> classes) { |
+ String getInterceptorName(Element element, Iterable<ClassElement> classes) { |
JavaScriptBackend backend = compiler.backend; |
if (classes.contains(backend.jsInterceptorClass)) { |
// If the base Interceptor class is in the set of intercepted classes, we |
@@ -578,7 +578,7 @@ class Namer implements ClosureNamer { |
} |
String getOneShotInterceptorName(Selector selector, |
- Collection<ClassElement> classes) { |
+ Iterable<ClassElement> classes) { |
JavaScriptBackend backend = compiler.backend; |
// The one-shot name is a global name derived from the invocation name. To |
// avoid instability we would like the names to be unique and not clash with |