Index: sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart |
index 9a6ca0b98e9b7eb6bab73ae4fe4d5fae7211f3d5..49f51a9f54645409200fb2e8fde9025c2720a32b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart |
@@ -36,7 +36,7 @@ class ClassEmitter extends CodeEmitterHelper { |
task.needsMixinSupport = true; |
} |
- ClassBuilder builder = new ClassBuilder(namer); |
+ ClassBuilder builder = new ClassBuilder(); |
emitClassConstructor(classElement, builder, runtimeName, |
onlyForRti: onlyForRti); |
emitFields(classElement, builder, superName, onlyForRti: onlyForRti); |
@@ -314,7 +314,7 @@ class ClassEmitter extends CodeEmitterHelper { |
} |
List<jsAst.Property> statics = new List<jsAst.Property>(); |
- ClassBuilder staticsBuilder = new ClassBuilder(namer); |
+ ClassBuilder staticsBuilder = new ClassBuilder(); |
if (emitFields(classElement, staticsBuilder, null, emitStatics: true)) { |
statics.add(staticsBuilder.toObjectInitializer().properties.single); |
} |