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 2bfbd2e348420da9400d784da35a69ef8d96cb73..34a07399530f7facb83bb35a97cf5063ddf45b02 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_MutationObserver.darttemplate |
@@ -75,6 +75,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 |
} |