Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 14f4af8788c8294c409bd214c5b75338c4a4f0ae..909335d5124f336ac4752efc231f495f49dd5056 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -509,12 +509,10 @@ i::Object** V8::CopyPersistent(i::Object** obj) { |
} |
-void V8::MakeWeak(i::Object** object, void* parameters, |
- WeakCallback weak_callback, V8::WeakHandleType weak_type) { |
- i::GlobalHandles::PhantomState phantom; |
- phantom = weak_type == V8::PhantomHandle ? i::GlobalHandles::Phantom |
- : i::GlobalHandles::Nonphantom; |
- i::GlobalHandles::MakeWeak(object, parameters, weak_callback, phantom); |
+void V8::MakeWeak(i::Object** object, |
+ void* parameters, |
+ WeakCallback weak_callback) { |
+ i::GlobalHandles::MakeWeak(object, parameters, weak_callback); |
} |