| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index 86bfbbcb643475ce65fd8dfaae5384ccaa052f54..7de9d7428eaefaa5fce2fe0c35abbbf3f210ef9a 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -695,8 +695,7 @@ void ScriptCache::HandleWeakScript(
|
| }
|
|
|
|
|
| -void Debug::HandleWeakDebugInfo(
|
| - const v8::WeakCallbackData<v8::Value, void>& data) {
|
| +void Debug::HandlePhantomDebugInfo(const v8::PhantomCallbackData<void>& data) {
|
| Debug* debug = reinterpret_cast<Isolate*>(data.GetIsolate())->debug();
|
| DebugInfoListNode* node =
|
| reinterpret_cast<DebugInfoListNode*>(data.GetParameter());
|
| @@ -715,9 +714,8 @@ DebugInfoListNode::DebugInfoListNode(DebugInfo* debug_info): next_(NULL) {
|
| // Globalize the request debug info object and make it weak.
|
| GlobalHandles* global_handles = debug_info->GetIsolate()->global_handles();
|
| debug_info_ = Handle<DebugInfo>::cast(global_handles->Create(debug_info));
|
| - GlobalHandles::MakeWeak(reinterpret_cast<Object**>(debug_info_.location()),
|
| - this, Debug::HandleWeakDebugInfo,
|
| - GlobalHandles::Phantom);
|
| + GlobalHandles::MakePhantom(reinterpret_cast<Object**>(debug_info_.location()),
|
| + this, Debug::HandlePhantomDebugInfo);
|
| }
|
|
|
|
|
|
|