Index: tests/html/custom/element_upgrade_test.dart |
diff --git a/tests/html/custom/element_upgrade_test.dart b/tests/html/custom/element_upgrade_test.dart |
index 244f21b70e11fe0efdf8d72225d9084020c4c7c1..c8e7376ea4516a109427c02b646694f50427ce21 100644 |
--- a/tests/html/custom/element_upgrade_test.dart |
+++ b/tests/html/custom/element_upgrade_test.dart |
@@ -40,7 +40,7 @@ main() { |
upgrader.upgrade(e); |
}; |
- document.register('custom-element', CustomElement); |
+ document.registerElement('custom-element', CustomElement); |
} |
})); |