| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index 504b91890516dadb3951ce0e12ae33ee6e5c42b7..15ab59747824ff13b598fb6b3a0eb5bab1849aae 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -448,7 +448,7 @@ ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicStri
|
| return registerElement(scriptState, name, Dictionary(), exceptionState);
|
| }
|
|
|
| -ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, const Dictionary& options, ExceptionState& exceptionState, CustomElement::NameSet validNames)
|
| +ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, const Dictionary& options, ExceptionState& exceptionState)
|
| {
|
| if (!registrationContext()) {
|
| exceptionState.throwDOMException(NotSupportedError, "No element registration context is available.");
|
| @@ -456,7 +456,7 @@ ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicStri
|
| }
|
|
|
| CustomElementConstructorBuilder constructorBuilder(scriptState, &options);
|
| - registrationContext()->registerElement(this, &constructorBuilder, name, validNames, exceptionState);
|
| + registrationContext()->registerElement(this, &constructorBuilder, name, exceptionState);
|
| return constructorBuilder.bindingsReturnValue();
|
| }
|
|
|
|
|