Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index 3f4e3bea59d5fb8d96e9435d3dbb0f6932ffd532..891f5452de2a252fbf8d27f15641df39cc1b4348 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -523,16 +523,6 @@ void GlobalHandles::IterateWeakRoots(ObjectVisitor* v) { |
} |
-void GlobalHandles::IterateWeakRoots(WeakReferenceGuest f, |
- WeakReferenceCallback callback) { |
- for (NodeIterator it(this); !it.done(); it.Advance()) { |
- if (it.node()->IsWeak() && it.node()->callback() == callback) { |
- f(it.node()->object(), it.node()->parameter()); |
- } |
- } |
-} |
- |
- |
void GlobalHandles::IdentifyWeakHandles(WeakSlotCallback f) { |
for (NodeIterator it(this); !it.done(); it.Advance()) { |
if (it.node()->IsWeak() && f(it.node()->location())) { |