Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2019-10-18 20:56:24 +0300
committerMyles Borins <myles.borins@gmail.com>2019-10-23 10:33:02 +0300
commit0c88dc19327d8daaebf46bbed9a9ce80b40bf2ae (patch)
treebc5cb24603c1929ff0ebdd807f5ce53a55cb1268 /src/env.h
parent972144073b51b1fecf966dcb03ebf83e61e78e2d (diff)
src: fewer uses of NODE_USE_V8_PLATFORM
PR-URL: https://github.com/nodejs/node/pull/30029 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index 46aecfd2521..0e34c43ebaf 100644
--- a/src/env.h
+++ b/src/env.h
@@ -868,7 +868,7 @@ class Environment : public MemoryRetainer {
void CreateProperties();
// Should be called before InitializeInspector()
void InitializeDiagnostics();
-#if HAVE_INSPECTOR && NODE_USE_V8_PLATFORM
+#if HAVE_INSPECTOR
// If the environment is created for a worker, pass parent_handle and
// the ownership if transferred into the Environment.
int InitializeInspector(inspector::ParentInspectorHandle* parent_handle);