Index: pkg/compiler/lib/src/js_backend/field_naming_mixin.dart |
diff --git a/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart b/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart |
index d7a3ca966f64c5227914f837e6c97aa87be022c5..04a9fdab3b1cbedfe69a709df1d57c1bdc620b88 100644 |
--- a/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart |
+++ b/pkg/compiler/lib/src/js_backend/field_naming_mixin.dart |
@@ -14,9 +14,8 @@ abstract class _MinifiedFieldNamer implements Namer { |
// this could be because the field belongs to a mixin. In such a case this |
// will return `null` and a normal field name has to be used. |
jsAst.Name _minifiedInstanceFieldPropertyName(Element element) { |
- if (backend.nativeData.hasFixedBackendName(element)) { |
- return new StringBackedName( |
- backend.nativeData.getFixedBackendName(element)); |
+ if (_nativeData.hasFixedBackendName(element)) { |
+ return new StringBackedName(_nativeData.getFixedBackendName(element)); |
} |
_FieldNamingScope names; |
@@ -24,7 +23,7 @@ abstract class _MinifiedFieldNamer implements Namer { |
names = new _FieldNamingScope.forBox(element.box, fieldRegistry); |
} else { |
ClassElement cls = element.enclosingClass; |
- names = new _FieldNamingScope.forClass(cls, closedWorld, fieldRegistry); |
+ names = new _FieldNamingScope.forClass(cls, _closedWorld, fieldRegistry); |
} |
if (names.containsField(element)) { |