Use Local instead of Handle
This commit is contained in:
parent
b169ac016e
commit
d78efe7c22
54 changed files with 185 additions and 185 deletions
|
@ -11,8 +11,8 @@ namespace atom {
|
|||
|
||||
// static
|
||||
void ObjectLifeMonitor::BindTo(v8::Isolate* isolate,
|
||||
v8::Handle<v8::Object> target,
|
||||
v8::Handle<v8::Value> destructor) {
|
||||
v8::Local<v8::Object> target,
|
||||
v8::Local<v8::Value> destructor) {
|
||||
target->SetHiddenValue(MATE_STRING_NEW(isolate, "destructor"), destructor);
|
||||
|
||||
ObjectLifeMonitor* olm = new ObjectLifeMonitor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue