Index: tests/html/custom/attribute_changed_callback_test.dart |
diff --git a/tests/html/custom/attribute_changed_callback_test.dart b/tests/html/custom/attribute_changed_callback_test.dart |
index 14b861407f8875a68ff0cc50f77ad128026126b2..3eaa446f92d41c2033f3f40d1ea8ce277462ee79 100644 |
--- a/tests/html/custom/attribute_changed_callback_test.dart |
+++ b/tests/html/custom/attribute_changed_callback_test.dart |
@@ -52,8 +52,8 @@ main() { |
setUp(() => customElementsReady.then((_) { |
if (!registered) { |
registered = true; |
- document.register(A.tag, A); |
- document.register(B.tag, B); |
+ document.registerElement(A.tag, A); |
+ document.registerElement(B.tag, B); |
} |
})); |