mirror of
https://github.com/electron/electron.git
synced 2026-02-15 01:25:00 -05:00
Some more APIs fixes.
This commit is contained in:
@@ -9,7 +9,7 @@ namespace mate {
|
||||
namespace internal {
|
||||
|
||||
CallbackHolderBase::CallbackHolderBase(v8::Isolate* isolate)
|
||||
: MATE_PERSISTENT_INIT(isolate, v8_ref_, v8::External::New(this)) {
|
||||
: MATE_PERSISTENT_INIT(isolate, v8_ref_, MATE_EXTERNAL_NEW(isolate, this)) {
|
||||
MATE_PERSISTENT_SET_WEAK(v8_ref_, this, &CallbackHolderBase::WeakCallback);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user