Index: src/allocation-tracker.cc |
diff --git a/src/allocation-tracker.cc b/src/allocation-tracker.cc |
index 586ce3c45a8442420fd293e862b676e220f50bff..28883ae740d45a6b4bcbb5df70b7ffc4929feca9 100644 |
--- a/src/allocation-tracker.cc |
+++ b/src/allocation-tracker.cc |
@@ -272,7 +272,7 @@ void AllocationTracker::UnresolvedLocation::HandleWeakScript( |
void* data) { |
UnresolvedLocation* location = reinterpret_cast<UnresolvedLocation*>(data); |
location->script_ = Handle<Script>::null(); |
- obj->Dispose(); |
+ obj->Reset(); |
} |