Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
index e6f45b7831264a8053e8ec1ad3364eba7ebdb5af..fb17a8236b8faf6aa775d4db336f7b5cebe70877 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
@@ -484,8 +484,8 @@ $if DART2JS |
} |
} |
- void _insertAdjacentText(String where, String text) |
- native 'insertAdjacentText'; |
+ @JSName('insertAdjacentText') |
+ void _insertAdjacentText(String where, String text) native; |
/** @domName Element.insertAdjacentHTML */ |
void insertAdjacentHtml(String where, String text) { |
@@ -496,8 +496,8 @@ $if DART2JS |
} |
} |
- void _insertAdjacentHtml(String where, String text) |
- native 'insertAdjacentHTML'; |
+ @JSName('insertAdjacentHTML') |
+ void _insertAdjacentHTML(String where, String text) native; |
/** @domName Element.insertAdjacentHTML */ |
Element insertAdjacentElement(String where, Element element) { |
@@ -509,8 +509,8 @@ $if DART2JS |
return element; |
} |
- void _insertAdjacentElement(String where, Element element) |
- native 'insertAdjacentElement'; |
+ @JSName('insertAdjacentElement') |
+ void _insertAdjacentElement(String where, Element element) native; |
void _insertAdjacentNode(String where, Node node) { |
switch (where.toLowerCase()) { |