Index: Source/platform/Supplementable.h |
diff --git a/Source/platform/Supplementable.h b/Source/platform/Supplementable.h |
index 47cbf407b3f4663e3183d5ee7649a60664d4448f..c5e5b0719b767e488d124470895cccbaa19d3bbf 100644 |
--- a/Source/platform/Supplementable.h |
+++ b/Source/platform/Supplementable.h |
@@ -144,8 +144,6 @@ public: |
return host ? host->requireSupplement(key) : 0; |
} |
- virtual void willBeDestroyed() { } |
- |
// FIXME: Oilpan: Remove this callback once PersistentHeapSupplementable is removed again. |
virtual void persistentHostHasBeenDestroyed() { } |
}; |
@@ -187,13 +185,6 @@ public: |
// since we only want to trace it for garbage collected classes. |
virtual void trace(Visitor*) { } |
- void willBeDestroyed() |
- { |
- typedef typename SupplementableTraits<T, isGarbageCollected>::SupplementMap::iterator SupplementIterator; |
- for (SupplementIterator it = m_supplements.begin(); it != m_supplements.end(); ++it) |
- it->value->willBeDestroyed(); |
- } |
- |
// FIXME: Oilpan: Make private and remove this ignore once PersistentHeapSupplementable is removed again. |
protected: |
GC_PLUGIN_IGNORE("") |