Chromium Code Reviews| Index: Source/core/dom/CustomElement.h |
| diff --git a/Source/core/dom/CustomElement.h b/Source/core/dom/CustomElement.h |
| index 4fc4b572ae85c4135a532727db0a28cc037ba276..9a9d599ad13d37846e23798a8ef49cded53ddb09 100644 |
| --- a/Source/core/dom/CustomElement.h |
| +++ b/Source/core/dom/CustomElement.h |
| @@ -62,6 +62,7 @@ public: |
| // API for Element to kick off changes |
| + static void didFinishParsingChildren(Element*); |
| static void attributeDidChange(Element*, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue); |
| static void didEnterDocument(Element*, Document*); |
| static void didLeaveDocument(Element*, Document*); |
| @@ -81,8 +82,8 @@ private: |
| ~DefinitionMap() { } |
| void add(Element*, PassRefPtr<CustomElementDefinition>); |
| - void remove(Element*); |
| - CustomElementDefinition* get(Element*); |
| + void remove(Element* element) { m_definitions.remove(element); } |
| + CustomElementDefinition* get(Element* element) { return m_definitions.get(element); } |
|
dglazkov
2013/08/14 20:22:34
is this a const function?
|
| private: |
| typedef HashMap<Element*, RefPtr<CustomElementDefinition> > ElementDefinitionHashMap; |