Index: LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc.html |
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc.html b/LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc.html |
index 39b9439f82d8206e93425abf3795057b72aba4b3..ef96418ffdcbbb0af861549c52a1d4d1b9f43db9 100644 |
--- a/LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc.html |
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc.html |
@@ -8,7 +8,7 @@ |
<script> |
description('Custom element wrappers in templates should be retained'); |
-document.querySelector('template').content.ownerDocument.register('x-custom', { |
+document.querySelector('template').content.ownerDocument.registerElement('x-custom', { |
prototype: { |
createdCallback: function() { |
this.expando = 'present'; |