| Index: Source/core/dom/custom/CustomElement.h
|
| diff --git a/Source/core/dom/custom/CustomElement.h b/Source/core/dom/custom/CustomElement.h
|
| index 2fb4adde5cf26bd7f6a1665f6557f5c9e1fdcddd..c9504eb7863019e4dc3a88076c349b6470c48153 100644
|
| --- a/Source/core/dom/custom/CustomElement.h
|
| +++ b/Source/core/dom/custom/CustomElement.h
|
| @@ -62,9 +62,6 @@ public:
|
| // API for registration contexts
|
| static void define(Element*, PassRefPtr<CustomElementDefinition>);
|
|
|
| - // API for wrapper creation, which uses a definition as a key
|
| - static CustomElementDefinition* definitionFor(Element*);
|
| -
|
| // API for Element to kick off changes
|
|
|
| static void attributeDidChange(Element*, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue);
|
| @@ -76,24 +73,6 @@ private:
|
| CustomElement();
|
|
|
| static Vector<AtomicString>& embedderCustomElementNames();
|
| -
|
| - // Maps resolved elements to their definitions
|
| -
|
| - class DefinitionMap {
|
| - WTF_MAKE_NONCOPYABLE(DefinitionMap);
|
| - public:
|
| - DefinitionMap() { }
|
| - ~DefinitionMap() { }
|
| -
|
| - void add(Element*, PassRefPtr<CustomElementDefinition>);
|
| - void remove(Element* element) { m_definitions.remove(element); }
|
| - CustomElementDefinition* get(Element* element) const { return m_definitions.get(element); }
|
| -
|
| - private:
|
| - typedef HashMap<Element*, RefPtr<CustomElementDefinition> > ElementDefinitionHashMap;
|
| - ElementDefinitionHashMap m_definitions;
|
| - };
|
| - static DefinitionMap& definitions();
|
| };
|
|
|
| }
|
|
|