Index: pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart b/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart |
index 3e913abf59d5bb9d27ed5607fc42fef7ffaaee84..b87c12ade0695ef4bb2c87d8456e42fd6eecfe8b 100644 |
--- a/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart |
@@ -265,7 +265,7 @@ class ModelEmitter { |
compiler.stringClass, compiler.boolClass, compiler.nullClass, |
compiler.listClass]; |
nativeClassesNeedingUnmangledName.forEach((element) { |
- names.add(new js.Property(js.string(namer.getNameOfClass(element)), |
+ names.add(new js.Property(js.string(namer.className(element)), |
js.string(element.name))); |
}); |