diff options
author | Refael Ackermann <refack@gmail.com> | 2019-05-30 11:54:09 -0400 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-02 12:03:40 +0200 |
commit | cb92d243e8b3603cf4abd231abe83179950927fc (patch) | |
tree | 33f4125357bb7dbd8efa85c32e0cdb71c2fcca04 /src/node_native_module.h | |
parent | db013e1cd3947ed0ae9dddaec127f1707e91a2ee (diff) | |
download | android-node-v8-cb92d243e8b3603cf4abd231abe83179950927fc.tar.gz android-node-v8-cb92d243e8b3603cf4abd231abe83179950927fc.tar.bz2 android-node-v8-cb92d243e8b3603cf4abd231abe83179950927fc.zip |
tools: fix js2c regression
PR-URL: https://github.com/nodejs/node/pull/27980
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/node_native_module.h')
-rw-r--r-- | src/node_native_module.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node_native_module.h b/src/node_native_module.h index 5450c63c16..fabaea7568 100644 --- a/src/node_native_module.h +++ b/src/node_native_module.h @@ -11,6 +11,9 @@ #include "node_union_bytes.h" #include "v8.h" +// Forward declare test fixture for `friend` declaration. +class PerProcessTest; + namespace node { namespace native_module { @@ -82,6 +85,8 @@ class NativeModuleLoader { // Used to synchronize access to the code cache map Mutex code_cache_mutex_; + + friend class ::PerProcessTest; }; } // namespace native_module |