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

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

Issue 18258003: Pow __proto__, sock :unresolved, and clunk the created callback at once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Try to be nicer to MSVC. Created 7 years, 5 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 | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/CustomElementUpgradeCandidateMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CustomElementUpgradeCandidateMap.h
diff --git a/Source/core/dom/CustomElementUpgradeCandidateMap.h b/Source/core/dom/CustomElementUpgradeCandidateMap.h
index 84d3d9186c13e27ccb19e3dca35b6d30ee5dd1c9..dd32460e53dbd8a82f483d1c8aea5d93003ecaea 100644
--- a/Source/core/dom/CustomElementUpgradeCandidateMap.h
+++ b/Source/core/dom/CustomElementUpgradeCandidateMap.h
@@ -49,18 +49,17 @@ public:
typedef HashSet<Element*> ElementSet;
void add(CustomElementDefinition::CustomElementKind, const AtomicString& type, Element*);
- bool contains(Element*) const;
void remove(Element*);
- ElementSet takeUpgradeCandidatesFor(CustomElementDefinition*);
+ Vector<Element*> takeUpgradeCandidatesFor(CustomElementDefinition*);
private:
typedef std::pair<CustomElementDefinition::CustomElementKind, AtomicString> RequiredDefinition;
- typedef HashMap<Element*, RequiredDefinition> UnresolvedElementMap;
+ typedef HashMap<Element*, RequiredDefinition> UpgradeCandidateMap;
typedef HashMap<AtomicString, ElementSet> UnresolvedDefinitionMap;
bool matches(CustomElementDefinition*, Element*);
- UnresolvedElementMap m_unresolvedElements;
+ UpgradeCandidateMap m_upgradeCandidates;
UnresolvedDefinitionMap m_unresolvedDefinitions;
};
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/CustomElementUpgradeCandidateMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698