Index: src/global-handles.h |
diff --git a/src/global-handles.h b/src/global-handles.h |
index 4b46aac05d0929c4e7d37d2a20a70f9e93f13653..a40645199c61b1d24a766f18cb5d8847468d0631 100644 |
--- a/src/global-handles.h |
+++ b/src/global-handles.h |
@@ -135,7 +135,6 @@ class GlobalHandles { |
static void Destroy(Object** location); |
typedef WeakCallbackData<v8::Value, void>::Callback WeakCallback; |
- typedef WeakReferenceCallbacks<v8::Value, void>::Revivable RevivableCallback; |
// Make the global handle weak and set the callback parameter for the |
// handle. When the garbage collector recognizes that only weak global |
@@ -145,14 +144,7 @@ class GlobalHandles { |
// reason is that Smi::FromInt(0) does not change during garage collection. |
static void MakeWeak(Object** location, |
void* parameter, |
- WeakCallback weak_callback, |
- RevivableCallback revivable_callback); |
- |
- static inline void MakeWeak(Object** location, |
- void* parameter, |
- RevivableCallback revivable_callback) { |
- MakeWeak(location, parameter, NULL, revivable_callback); |
- } |
+ WeakCallback weak_callback); |
void RecordStats(HeapStats* stats); |