Index: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp |
index 8c4a5c7549b531b153fda096d76e80b18a3e19e8..dbc26b5f3d6a922b2f224371b4e73f5a8bb298f6 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp |
@@ -41,13 +41,6 @@ CustomElementUpgradeCandidateMap* CustomElementUpgradeCandidateMap::create() |
CustomElementUpgradeCandidateMap::~CustomElementUpgradeCandidateMap() |
{ |
-#if !ENABLE(OILPAN) |
- // With Oilpan enabled, the observer table keeps a weak reference to the |
- // element; no need for explicit removal. |
- UpgradeCandidateMap::const_iterator::KeysIterator end = m_upgradeCandidates.end().keys(); |
- for (UpgradeCandidateMap::const_iterator::KeysIterator it = m_upgradeCandidates.begin().keys(); it != end; ++it) |
- unobserve(*it); |
-#endif |
} |
void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descriptor, Element* element) |