Index: sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate b/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate |
index a42316567e411fc1139788fe76f599c0e4e80543..dda5aeebbf810fd9a8cc147a17e7e093c91d4686 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate |
@@ -76,6 +76,7 @@ $if DART2JS |
static _fixupList(list) => list; // TODO: Ensure is a JavaScript Array. |
// Call native function with no conversions. |
- void _call(target, options) native 'observe'; |
+ @JSName('observe') |
+ void _call(target, options) native; |
$endif |
} |