Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 2721403006: Split NativeData (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 45ff58527f6cd1a05229df78834f44eaf1fe6a23..6546b468ac800d3a870b3b7bd619fbfb7da16917 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.nativeData.setNativeClassTagInfo(element, native);
+ backend.nativeDataBuilder.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.nativeData.markAsJsInterop(element);
+ backend.nativeDataBuilder.markAsJsInterop(element);
}
// Due to semantics of apply in the baseclass we have to return null to
// indicate that no match was found.

Powered by Google App Engine
This is Rietveld 408576698