Index: tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
index 378dec8a2a3a4ea5c5ec4c86d0822b4a34e3e6ea..dd235bc685f4538c59642fdc8496aea1294007fb 100644 |
--- a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
@@ -115,12 +115,11 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
} |
@DomName('Element.insertAdjacentHTML') |
- void insertAdjacentHtml(String where, String text, {NodeValidator validator, |
- NodeTreeSanitizer treeSanitizer}) { |
+ void insertAdjacentHtml(String where, String text) { |
throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); |
} |
- @DomName('Element.insertAdjacentElement') |
+ @DomName('Element.insertAdjacentHTML') |
Element insertAdjacentElement(String where, Element element) { |
throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); |
} |