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

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

Issue 1887183002: Remove OILPAN from core/dom/custom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698