Index: tools/dom/templates/html/impl/impl_Element.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate |
index 9e85eacea63a03ced4c925d3f3bfc13abc4384e9..fcf3c0c9dfe970c497c3813bfbd7b1dca08a4297 100644 |
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate |
@@ -1017,7 +1017,7 @@ $endif |
if (treeSanitizer is _TrustedHtmlTreeSanitizer) { |
_insertAdjacentHtml(where, html); |
} else { |
- _insertAdjacentNode(where, createFragment(html, |
+ _insertAdjacentNode(where, new DocumentFragment.html(html, |
validator: validator, treeSanitizer: treeSanitizer)); |
} |
} |