Index: pkg/compiler/lib/src/patch_parser.dart |
diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart |
index 6546b468ac800d3a870b3b7bd619fbfb7da16917..b1bc05f33dfc71087e55effe87aa3deb3d3a9870 100644 |
--- a/pkg/compiler/lib/src/patch_parser.dart |
+++ b/pkg/compiler/lib/src/patch_parser.dart |
@@ -409,7 +409,7 @@ class NativeAnnotationHandler implements EagerAnnotationHandler<String> { |
String native = getNativeAnnotation(annotation); |
if (native != null) { |
JavaScriptBackend backend = compiler.backend; |
- backend.nativeDataBuilder.setNativeClassTagInfo(element, native); |
+ backend.nativeClassDataBuilder.setNativeClassTagInfo(element, native); |
return native; |
} |
} |
@@ -441,7 +441,7 @@ class JsInteropAnnotationHandler implements EagerAnnotationHandler<bool> { |
bool hasJsInterop = hasJsNameAnnotation(annotation); |
if (hasJsInterop) { |
JavaScriptBackend backend = compiler.backend; |
- backend.nativeDataBuilder.markAsJsInterop(element); |
+ backend.nativeClassDataBuilder.markAsJsInterop(element); |
} |
// Due to semantics of apply in the baseclass we have to return null to |
// indicate that no match was found. |