| Index: pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| index 27bd60dacec872988f488af7e82086286b8a70d4..4741495b480ee1b58341875d8c8fa68e40ee317b 100644
|
| --- a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
|
| @@ -196,7 +196,7 @@ class CustomElementsAnalysisJoin {
|
| if (!demanded) return const WorldImpact();
|
| var newActiveClasses = new Set<ClassElement>();
|
| for (ClassElement classElement in instantiatedClasses) {
|
| - bool isNative = _nativeData.isNative(classElement);
|
| + bool isNative = _nativeData.isNativeClass(classElement);
|
| bool isExtension =
|
| !isNative && _nativeData.isNativeOrExtendsNative(classElement);
|
| // Generate table entries for native classes that are explicitly named and
|
| @@ -240,7 +240,7 @@ class CustomElementsAnalysisJoin {
|
| // Only classes that extend native classes have constructors in the table.
|
| // We could refine this to classes that extend Element, but that would break
|
| // the tests and there is no sane reason to subclass other native classes.
|
| - if (_nativeData.isNative(classElement)) return result;
|
| + if (_nativeData.isNativeClass(classElement)) return result;
|
|
|
| void selectGenerativeConstructors(ClassElement enclosing, Element member) {
|
| if (member.isGenerativeConstructor) {
|
|
|