Index: samples/third_party/dromaeo/tests/dom-traverse-html.dart |
diff --git a/samples/third_party/dromaeo/tests/dom-traverse-html.dart b/samples/third_party/dromaeo/tests/dom-traverse-html.dart |
index f9c3d3be6bb805546b5bad0372827fe6617caa4c..bf193054a98133b7d78ba401e27cf694b864b620 100644 |
--- a/samples/third_party/dromaeo/tests/dom-traverse-html.dart |
+++ b/samples/third_party/dromaeo/tests/dom-traverse-html.dart |
@@ -34,7 +34,7 @@ void main() { |
document.body.append(div); |
}) |
.test('firstChild', () { |
- final nodes = document.body.$dom_childNodes; |
+ final nodes = document.body.nodes; |
final nl = nodes.length; |
for (int i = 0; i < num; i++) { |
@@ -48,7 +48,7 @@ void main() { |
} |
}) |
.test('lastChild', () { |
- final nodes = document.body.$dom_childNodes; |
+ final nodes = document.body.nodes; |
final nl = nodes.length; |
for (int i = 0; i < num; i++) { |
@@ -81,7 +81,7 @@ void main() { |
}) |
.test('childNodes', () { |
for (int i = 0; i < num; i++) { |
- final nodes = document.body.$dom_childNodes; |
+ final nodes = document.body.nodes; |
for (int j = 0; j < nodes.length; j++) { |
ret = nodes[j]; |
} |