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

Unified Diff: Source/core/dom/CustomElement.h

Issue 23009004: Process Custom Elements in post-order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Less fragile. Created 7 years, 4 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: 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;

Powered by Google App Engine
This is Rietveld 408576698