Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index 8e71ea6705247ba8162b884e424603b93e6ff6b3..7eedfd211a45a8a472078944f33f82238d383d98 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -201,9 +201,8 @@ class ScriptCache : private HashMap { |
void Clear(); |
// Weak handle callback for scripts in the cache. |
- static void HandleWeakScript(v8::Isolate* isolate, |
- v8::Persistent<v8::Value>* obj, |
- void* data); |
+ static void HandleWeakScript( |
+ const v8::WeakCallbackData<v8::Value, void>& data); |
Isolate* isolate_; |
// List used during GC to temporarily store id's of collected scripts. |
@@ -403,9 +402,8 @@ class Debug { |
static const int kEstimatedNofBreakPointsInFunction = 16; |
// Passed to MakeWeak. |
- static void HandleWeakDebugInfo(v8::Isolate* isolate, |
- v8::Persistent<v8::Value>* obj, |
- void* data); |
+ static void HandleWeakDebugInfo( |
+ const v8::WeakCallbackData<v8::Value, void>& data); |
friend class Debugger; |
friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc |