summaryrefslogtreecommitdiff
path: root/src/stream_base-inl.h
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-03-20 19:05:02 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-03-27 10:30:09 -0400
commit51970537ee06f824160fcd035b018117ce264345 (patch)
tree824f710fce8db38c858e9deaa604a6964fd3c2bb /src/stream_base-inl.h
parenta8eac78f8dbe778a2aef69d0989416e47c6c403e (diff)
downloadandroid-node-v8-51970537ee06f824160fcd035b018117ce264345.tar.gz
android-node-v8-51970537ee06f824160fcd035b018117ce264345.tar.bz2
android-node-v8-51970537ee06f824160fcd035b018117ce264345.zip
src: move AsyncHooks out of Environment
PR-URL: https://github.com/nodejs/node/pull/26824 Refs: https://github.com/nodejs/node/issues/26776 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/stream_base-inl.h')
-rw-r--r--src/stream_base-inl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stream_base-inl.h b/src/stream_base-inl.h
index dbf3c07b92..08a02e186c 100644
--- a/src/stream_base-inl.h
+++ b/src/stream_base-inl.h
@@ -22,8 +22,6 @@ using v8::PropertyCallbackInfo;
using v8::String;
using v8::Value;
-using AsyncHooks = Environment::AsyncHooks;
-
inline void StreamReq::AttachToObject(v8::Local<v8::Object> req_wrap_obj) {
CHECK_EQ(req_wrap_obj->GetAlignedPointerFromInternalField(kStreamReqField),
nullptr);