build: add support for Electron trace events (#17920)
This commit is contained in:
parent
cc1e8ecef6
commit
4a3771ff7f
3 changed files with 23 additions and 0 deletions
|
@ -205,6 +205,7 @@ base::FilePath::StringType NodeBindings::GetHelperResourcesPath() {
|
|||
}
|
||||
|
||||
void NodeBindings::Initialize() {
|
||||
TRACE_EVENT0("electron", "NodeBindings::Initialize");
|
||||
// Open node's error reporting system for browser process.
|
||||
node::g_standalone_mode = browser_env_ == BROWSER;
|
||||
node::g_upstream_node_mode = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue