Index: tests/compiler/dart2js/mirrors_used_test.dart |
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart |
index 2d26968fb08ebe1774f404098808bedd645ab8fa..653135f20ff32b6c5bdfc3a0725cacef0b39fcda 100644 |
--- a/tests/compiler/dart2js/mirrors_used_test.dart |
+++ b/tests/compiler/dart2js/mirrors_used_test.dart |
@@ -85,8 +85,7 @@ void main() { |
compiler.listClass |
]; |
JavaScriptBackend backend = compiler.backend; |
- Iterable<String> nativeNames = |
- nativeClasses.map(backend.namer.getNameOfClass); |
+ Iterable<String> nativeNames = nativeClasses.map(backend.namer.className); |
expectedNames.addAll(nativeNames); |
Set recordedNames = new Set() |