Index: sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
index d6a222954e8080fd48748af01f3d4812486e9aed..b178723b4e31c27dd9568cd9c7dfaa71e05e9ac9 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
@@ -342,7 +342,7 @@ class NativeEmitter { |
String superName = backend.namer.getNameOfClass(superclass); |
- ClassBuilder builder = new ClassBuilder(backend.namer); |
+ ClassBuilder builder = new ClassBuilder(); |
emitter.classEmitter.emitClassConstructor(classElement, builder, null); |
bool hasFields = emitter.classEmitter.emitFields( |
classElement, builder, superName, classIsNative: true); |