| Index: pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
|
| index fc965728d5d938c198a3a5faef0fa335a5120a4f..bbbd7f1c99b8dcecaf97a2f7a990774272aab3d9 100644
|
| --- a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
|
| @@ -70,11 +70,11 @@ class JsInteropAnalysis {
|
| ConstantValue value = constructedConstant.fields[nameField];
|
| if (value.isString) {
|
| StringConstantValue stringValue = value;
|
| - backend.setJsInteropName(
|
| + backend.nativeData.setJsInteropName(
|
| e, stringValue.primitiveValue.slowToString());
|
| } else {
|
| // TODO(jacobr): report a warning if the value is not a String.
|
| - backend.setJsInteropName(e, '');
|
| + backend.nativeData.setJsInteropName(e, '');
|
| }
|
| enabledJsInterop = true;
|
| return;
|
|
|