Index: tests/html/shadow_dom_layout_test.dart |
diff --git a/tests/html/shadow_dom_layout_test.dart b/tests/html/shadow_dom_layout_test.dart |
index 389ba17e50c9ad42c56cfc6efd98c355f639f953..5a1d6b8c14213d8d4ae23ad52d3c604ed579019d 100644 |
--- a/tests/html/shadow_dom_layout_test.dart |
+++ b/tests/html/shadow_dom_layout_test.dart |
@@ -20,7 +20,7 @@ main() { |
var greenbox = _colorBox('green', 60, 10); |
// assemble DOM |
- var sRoot = div.webkitCreateShadowRoot(); |
+ var sRoot = div.createShadowRoot(); |
sRoot.nodes.add(new Element.html('<content select=".foo"></content>')); |
sRoot.nodes.add(redbox); |
sRoot.nodes.add(new Element.tag('content')); |