Index: tests/html/client_rect_test.dart |
diff --git a/tests/html/client_rect_test.dart b/tests/html/client_rect_test.dart |
index 2363bfc9a900119aaa281ac0d0507e3114d2e88c..b688908843b1bf351bf308ba289d3d4c01bfe163 100644 |
--- a/tests/html/client_rect_test.dart |
+++ b/tests/html/client_rect_test.dart |
@@ -23,7 +23,7 @@ main() { |
test("ClientRectList test", () { |
insertTestDiv(); |
- var range = document.createRange(); |
+ var range = new Range(); |
var rects = range.getClientRects(); |
expect(rects, isClientRectList); |
}); |