Index: sdk/lib/svg/dartium/svg_dartium.dart |
diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart |
index 63a74c64146d8fd9db139fc2263c619ad0a0b9fd..d480db39b40ed558cc433b7678a3b1988051a140 100644 |
--- a/sdk/lib/svg/dartium/svg_dartium.dart |
+++ b/sdk/lib/svg/dartium/svg_dartium.dart |
@@ -5498,12 +5498,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."); |
} |