Index: Source/core/dom/CustomElementRegistry.cpp |
diff --git a/Source/core/dom/CustomElementRegistry.cpp b/Source/core/dom/CustomElementRegistry.cpp |
index 3bbd23f1567ea31d655ad9ae22c393bed4694dde..65a675d7bbeeb35cfe2d12bab5747c8b188604c6 100644 |
--- a/Source/core/dom/CustomElementRegistry.cpp |
+++ b/Source/core/dom/CustomElementRegistry.cpp |
@@ -92,7 +92,7 @@ CustomElementDefinition* CustomElementRegistry::registerElement(Document* docume |
ASSERT(!observer.registrationContextWentAway()); |
- RefPtr<CustomElementLifecycleCallbacks> lifecycleCallbacks = constructorBuilder->createCallbacks(document); |
+ RefPtr<CustomElementLifecycleCallbacks> lifecycleCallbacks = constructorBuilder->createCallbacks(); |
// Consulting the constructor builder could execute script and |
// kill the document. |