Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 85b98370934292329b274c4170a8de6378aafd2d..3396a7b3b3d007548c7c43a21fc6c3bcd9bc411a 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -627,12 +627,10 @@ i::Object** V8::GlobalizeReference(i::Isolate* isolate, i::Object** obj) { |
void V8::MakeWeak(i::Object** object, |
void* parameters, |
- RevivableCallback weak_reference_callback, |
- NearDeathCallback near_death_callback) { |
+ RevivableCallback weak_reference_callback) { |
i::GlobalHandles::MakeWeak(object, |
parameters, |
- weak_reference_callback, |
- near_death_callback); |
+ weak_reference_callback); |
} |