| Index: Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
|
| diff --git a/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp b/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
|
| index b399c84260657788a71edb5232994ea11ed80e1f..c87b7f5efc877bf902310cdd97113218ca88c02d 100644
|
| --- a/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
|
| +++ b/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
|
| @@ -79,23 +79,6 @@ void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
|
| m_upgradeCandidates.remove(candidate);
|
| }
|
|
|
| -void CustomElementUpgradeCandidateMap::elementDidFinishParsingChildren(Element* element)
|
| -{
|
| - // An upgrade candidate finished parsing; reorder so that eventual
|
| - // upgrade order matches finished-parsing order.
|
| - moveToEnd(element);
|
| -}
|
| -
|
| -void CustomElementUpgradeCandidateMap::moveToEnd(Element* element)
|
| -{
|
| - UpgradeCandidateMap::iterator candidate = m_upgradeCandidates.find(element);
|
| - ASSERT_WITH_SECURITY_IMPLICATION(candidate != m_upgradeCandidates.end());
|
| -
|
| - UnresolvedDefinitionMap::iterator elements = m_unresolvedDefinitions.find(candidate->value);
|
| - ASSERT_WITH_SECURITY_IMPLICATION(elements != m_unresolvedDefinitions.end());
|
| - elements->value->appendOrMoveToLast(element);
|
| -}
|
| -
|
| PassOwnPtrWillBeRawPtr<CustomElementUpgradeCandidateMap::ElementSet> CustomElementUpgradeCandidateMap::takeUpgradeCandidatesFor(const CustomElementDescriptor& descriptor)
|
| {
|
| OwnPtrWillBeRawPtr<ElementSet> candidates = m_unresolvedDefinitions.take(descriptor);
|
|
|