mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
Upgrade to node 8.2.0
This commit is contained in:
committed by
Aleksei Kuzmin
parent
9f8f95f4c9
commit
9d2aa6f1c7
@@ -27,9 +27,9 @@ void NodeDebugger::Start() {
|
||||
node::DebugOptions options;
|
||||
for (auto& arg : base::CommandLine::ForCurrentProcess()->argv()) {
|
||||
#if defined(OS_WIN)
|
||||
options.ParseOption(base::UTF16ToUTF8(arg));
|
||||
options.ParseOption("Electron", base::UTF16ToUTF8(arg));
|
||||
#else
|
||||
options.ParseOption(arg);
|
||||
options.ParseOption("Electron", arg);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,8 @@ v8::Local<v8::Value> CallMethodWithArgs(v8::Isolate* isolate,
|
||||
v8::MicrotasksScope::kRunMicrotasks);
|
||||
// Use node::MakeCallback to call the callback, and it will also run pending
|
||||
// tasks in Node.js.
|
||||
return node::MakeCallback(isolate, obj, method, args->size(), &args->front());
|
||||
return node::MakeCallback(isolate, obj, method, args->size(), &args->front(),
|
||||
0, 0).ToLocalChecked();
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
'V8_BASE': '',
|
||||
'v8_postmortem_support': 'false',
|
||||
'v8_enable_i18n_support': 'false',
|
||||
'v8_inspector': 'true',
|
||||
'v8_enable_inspector': '1',
|
||||
},
|
||||
# Settings to compile node under Windows.
|
||||
'target_defaults': {
|
||||
|
||||
@@ -233,6 +233,7 @@
|
||||
# We need to access internal implementations of Node.
|
||||
'NODE_WANT_INTERNALS=1',
|
||||
'NODE_SHARED_MODE',
|
||||
'HAVE_OPENSSL=1',
|
||||
'HAVE_INSPECTOR=1',
|
||||
# This is defined in skia/skia_common.gypi.
|
||||
'SK_SUPPORT_LEGACY_GETTOPDEVICE',
|
||||
|
||||
2
vendor/node
vendored
2
vendor/node
vendored
Submodule vendor/node updated: dfa72e2c73...9169f032c0
Reference in New Issue
Block a user