Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 838463004: Remove embedder custom elements. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/custom/CustomElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/custom/CustomElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698