Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index 12d9605a51b2ca408a31f4c74db168d24fcc292b..63e26aea001dee5a239fb1fe0c8411b4f22016d4 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -40640,11 +40640,7 @@ class _ValidatingTreeSanitizer implements NodeTreeSanitizer { |
if (parent == null) { |
node.remove(); |
} else { |
- try { |
- parent._removeChild(node); |
- } catch (e) { |
- node.outerHtml = ''; |
- } |
+ parent._removeChild(node); |
} |
} |