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