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

Unified Diff: Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp

Issue 789253003: Remove dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years 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/custom/CustomElementUpgradeCandidateMap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/dom/custom/CustomElementUpgradeCandidateMap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698