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

Unified Diff: sky/engine/core/dom/custom/CustomElementRegistry.h

Issue 885713004: Remove CustomElementDescriptor. (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
Index: sky/engine/core/dom/custom/CustomElementRegistry.h
diff --git a/sky/engine/core/dom/custom/CustomElementRegistry.h b/sky/engine/core/dom/custom/CustomElementRegistry.h
index fa4fd2e1e1cda2cfa89186c703ad34e8a523e88d..00978a8bcfd9eee53c46cbf23e8d5423f092e604 100644
--- a/sky/engine/core/dom/custom/CustomElementRegistry.h
+++ b/sky/engine/core/dom/custom/CustomElementRegistry.h
@@ -33,8 +33,6 @@
#include "sky/engine/core/dom/custom/CustomElement.h"
#include "sky/engine/core/dom/custom/CustomElementDefinition.h"
-#include "sky/engine/core/dom/custom/CustomElementDescriptor.h"
-#include "sky/engine/core/dom/custom/CustomElementDescriptorHash.h"
#include "sky/engine/wtf/HashMap.h"
#include "sky/engine/wtf/HashSet.h"
#include "sky/engine/wtf/RefPtr.h"
@@ -55,10 +53,10 @@ protected:
CustomElementRegistry() { }
CustomElementDefinition* registerElement(Document*, CustomElementConstructorBuilder*, const AtomicString& name, ExceptionState&);
- CustomElementDefinition* find(const CustomElementDescriptor&) const;
+ CustomElementDefinition* find(const AtomicString& localName) const;
private:
- typedef HashMap<CustomElementDescriptor, RefPtr<CustomElementDefinition> > DefinitionMap;
+ typedef HashMap<AtomicString, RefPtr<CustomElementDefinition> > DefinitionMap;
DefinitionMap m_definitions;
};
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementRegistrationContext.cpp ('k') | sky/engine/core/dom/custom/CustomElementRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698