1.1 --- a/core/logic/NativeOwner.cpp Fri Aug 30 12:50:47 2013 -0700
1.2 +++ b/core/logic/NativeOwner.cpp Fri Aug 30 10:10:57 2013 -0700
1.3 @@ -123,16 +123,6 @@
1.4 iter = m_WeakRefs.erase(iter);
1.5 }
1.6
1.7 - /* Unmark our replacement natives */
1.8 - ntv_iter = m_ReplacedNatives.begin();
1.9 - while (ntv_iter != m_ReplacedNatives.end())
1.10 - {
1.11 - pEntry = (*ntv_iter);
1.12 - pEntry->replacement.func = NULL;
1.13 - pEntry->replacement.owner = NULL;
1.14 - ntv_iter = m_ReplacedNatives.erase(ntv_iter);
1.15 - }
1.16 -
1.17 /* Strip all of our natives from the cache */
1.18 ntv_iter = m_Natives.begin();
1.19 while (ntv_iter != m_Natives.end())
1.20 @@ -167,8 +157,3 @@
1.21 m_Dependents.remove(pPlugin);
1.22 DropWeakRefsTo(pPlugin);
1.23 }
1.24 -
1.25 -void CNativeOwner::AddReplacedNative(NativeEntry *pEntry)
1.26 -{
1.27 - m_ReplacedNatives.push_back(pEntry);
1.28 -}