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

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: Patch for landing. 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
« no previous file with comments | « LayoutTests/fast/dom/custom/registration-context-sharing.html ('k') | Source/core/dom/CustomElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CustomElement.h
diff --git a/Source/core/dom/CustomElement.h b/Source/core/dom/CustomElement.h
index 4fc4b572ae85c4135a532727db0a28cc037ba276..9df8062d8b65ac0dbe0cedb457500391ef5276a7 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) const { return m_definitions.get(element); }
private:
typedef HashMap<Element*, RefPtr<CustomElementDefinition> > ElementDefinitionHashMap;
« no previous file with comments | « LayoutTests/fast/dom/custom/registration-context-sharing.html ('k') | Source/core/dom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698