Index: pkg/compiler/lib/src/ssa/builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
index e0e89b3f8e258297020fa018e257e3b3add6e7c9..235113269e42668b1b34b43e08acb371511d10fa 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -3992,7 +3992,7 @@ class SsaBuilder extends ast.Visitor |
nativeEmitter.nativeMethods.add(element); |
if (element.isFactoryConstructor && |
- jsInteropAnalysis.hasAnonymousAnnotation(element.contextClass)) { |
+ nativeData.isAnonymousJsInteropClass(element.contextClass)) { |
// Factory constructor that is syntactic sugar for creating a JavaScript |
// object literal. |
ConstructorElement constructor = element; |