Index: pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart |
index a3e5a38ea5865eaf638f34018a5eb882b48e5c49..5f955f3b5ef577e4f3c40e6c8068c7a086708cc4 100644 |
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart |
@@ -260,7 +260,7 @@ class NsmEmitter extends CodeEmitterHelper { |
} |
shortNames.splice.apply(shortNames, calculatedShortNames); |
} |
- }''', {'objectClass': js.string(namer.getNameOfClass(objectClass)), |
+ }''', {'objectClass': js.string(namer.className(objectClass)), |
'diffEncoding': js.string('$diffEncoding')})); |
} else { |
// No useDiffEncoding version. |
@@ -269,7 +269,7 @@ class NsmEmitter extends CodeEmitterHelper { |
statements.add(js.statement( |
'var objectClassObject = processedClasses.collected[#objectClass],' |
' shortNames = #diffEncoding.split(",")', |
- {'objectClass': js.string(namer.getNameOfClass(objectClass)), |
+ {'objectClass': js.string(namer.className(objectClass)), |
'diffEncoding': js.string('$diffEncoding')})); |
if (!minify) { |
statements.add(js.statement('var longNames = #longs.split(",")', |