Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index 9d98a078aa23fd306cb341039ad40dd4be040722..ffe111fb77f0e229957b7f851b48643dc97fa711 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -12898,7 +12898,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode, |
if (treeSanitizer is _TrustedHtmlTreeSanitizer) { |
_insertAdjacentHtml(where, html); |
} else { |
- _insertAdjacentNode(where, createFragment(html, |
+ _insertAdjacentNode(where, new DocumentFragment.html(html, |
validator: validator, treeSanitizer: treeSanitizer)); |
} |
} |