Index: pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
index a232fc5aceda3e0e6f236c0d6a8068fba08a983e..5131953a354a206a478b8a6a6bd8c3520ffe4c26 100644 |
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
@@ -57,7 +57,7 @@ class TypeTestProperties { |
class RuntimeTypeGenerator { |
final CommonElements _commonElements; |
- final ClosureTask _closureToClassMapper; |
+ final ClosureTask _closureDataLookup; |
final CodeEmitterTask emitterTask; |
final Namer _namer; |
final NativeData _nativeData; |
@@ -69,7 +69,7 @@ class RuntimeTypeGenerator { |
RuntimeTypeGenerator( |
this._commonElements, |
- this._closureToClassMapper, |
+ this._closureDataLookup, |
this.emitterTask, |
this._namer, |
this._nativeData, |
@@ -126,7 +126,7 @@ class RuntimeTypeGenerator { |
jsAst.Expression thisAccess = new jsAst.This(); |
if (!method.isAbstract) { |
ClosureRepresentationInfo closureData = |
- _closureToClassMapper.getClosureRepresentationInfo(method); |
+ _closureDataLookup.getClosureRepresentationInfo(method); |
if (closureData != null) { |
ClosureFieldElement thisLocal = closureData.thisFieldEntity; |
if (thisLocal != null) { |