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

Unified Diff: sky/engine/core/dom/custom/CustomElementRegistry.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/custom/CustomElementRegistry.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/custom/CustomElementRegistry.cpp
diff --git a/sky/engine/core/dom/custom/CustomElementRegistry.cpp b/sky/engine/core/dom/custom/CustomElementRegistry.cpp
index 339c2c8253fb132b706d2acbef3bd45d7aea8841..7302c62237d6c7c97750c4b1325d02763197323d 100644
--- a/sky/engine/core/dom/custom/CustomElementRegistry.cpp
+++ b/sky/engine/core/dom/custom/CustomElementRegistry.cpp
@@ -59,7 +59,7 @@ private:
bool m_wentAway;
};
-CustomElementDefinition* CustomElementRegistry::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& userSuppliedName, CustomElement::NameSet validNames, ExceptionState& exceptionState)
+CustomElementDefinition* CustomElementRegistry::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& userSuppliedName, ExceptionState& exceptionState)
{
// FIXME: In every instance except one it is the
// CustomElementConstructorBuilder that observes document
@@ -69,7 +69,7 @@ CustomElementDefinition* CustomElementRegistry::registerElement(Document* docume
AtomicString type = userSuppliedName.lower();
- if (!CustomElement::isValidName(type, validNames)) {
+ if (!CustomElement::isValidName(type)) {
CustomElementException::throwException(CustomElementException::InvalidName, type, exceptionState);
return 0;
}
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementRegistry.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698