Index: src/allocation-tracker.h |
diff --git a/src/allocation-tracker.h b/src/allocation-tracker.h |
index 6844716a148f6217045a90632cf42ff1f7c499d8..1a5dc9e123c4ffe39f6c4bbdca5b3f32723a8540 100644 |
--- a/src/allocation-tracker.h |
+++ b/src/allocation-tracker.h |
@@ -112,9 +112,9 @@ class AllocationTracker { |
void Resolve(); |
private: |
- static void HandleWeakScript(v8::Isolate* isolate, |
- v8::Persistent<v8::Value>* obj, |
- void* data); |
+ static void HandleWeakScript( |
+ const v8::WeakCallbackData<v8::Value, void>& data); |
+ |
Handle<Script> script_; |
int start_position_; |
FunctionInfo* info_; |