Index: sdk/lib/svg/dart2js/svg_dart2js.dart |
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart |
index b8035b32c401a0356b6e81cc3e5b5ffe7f9eca1b..ba0ac0183ec6f36d68271a0307f805c6cc2e2d12 100644 |
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart |
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart |
@@ -4858,12 +4858,11 @@ class SvgElement extends Element implements GlobalEventHandlers { |
} |
@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."); |
} |