Index: pkg/compiler/lib/src/use_unused_api.dart |
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart |
index 889cc31138791a66c33261d492bf11146fdfa516..3fbf537b1b3da82e5dba29f3d81a650d4ff16807 100644 |
--- a/pkg/compiler/lib/src/use_unused_api.dart |
+++ b/pkg/compiler/lib/src/use_unused_api.dart |
@@ -57,7 +57,7 @@ class ElementVisitor extends elements_visitor.BaseElementVisitor { |
void main(List<String> arguments) { |
useApi(null); |
dart2js.main(arguments); |
- dart2jslib.isPublicName(null); |
+ elements.Name.isPublicName(null); |
useConstant(); |
useNode(null); |
useUtil(null); |