summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2018-10-28 17:51:10 -0700
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-11-02 12:44:27 +0100
commit1d5007b5c0c7c12dfbbdcfd7261d8b3d2c9e382c (patch)
tree6662ce32c9b411ecfa9fa44e3f09a78daec56a6d /src
parent9e31a7286107cdfa24277cb781b893eb24ebfa9c (diff)
downloadandroid-node-v8-1d5007b5c0c7c12dfbbdcfd7261d8b3d2c9e382c.tar.gz
android-node-v8-1d5007b5c0c7c12dfbbdcfd7261d8b3d2c9e382c.tar.bz2
android-node-v8-1d5007b5c0c7c12dfbbdcfd7261d8b3d2c9e382c.zip
src: fix CreatePlatform header param mismatch
PR-URL: https://github.com/nodejs/node/pull/23947 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Diffstat (limited to 'src')
-rw-r--r--src/node.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/node.h b/src/node.h
index 98db328952..5bbaa11def 100644
--- a/src/node.h
+++ b/src/node.h
@@ -100,15 +100,16 @@
// Forward-declare libuv loop
struct uv_loop_s;
-// Forward-declare TracingController, used by CreatePlatform.
-namespace v8 {
-class TracingController;
-}
-
// Forward-declare these functions now to stop MSVS from becoming
// terminally confused when it's done in node_internals.h
namespace node {
+namespace tracing {
+
+class TracingController;
+
+}
+
NODE_EXTERN v8::Local<v8::Value> ErrnoException(v8::Isolate* isolate,
int errorno,
const char* syscall = nullptr,
@@ -275,7 +276,7 @@ NODE_EXTERN MultiIsolatePlatform* GetMainThreadMultiIsolatePlatform();
NODE_EXTERN MultiIsolatePlatform* CreatePlatform(
int thread_pool_size,
- v8::TracingController* tracing_controller);
+ node::tracing::TracingController* tracing_controller);
MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size);
NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform);