summaryrefslogtreecommitdiff
path: root/src/api/callback.cc
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/api/callback.cc
parenta8eac78f8dbe778a2aef69d0989416e47c6c403e (diff)
downloadnode-new-51970537ee06f824160fcd035b018117ce264345.tar.gz
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/api/callback.cc')
-rw-r--r--src/api/callback.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/callback.cc b/src/api/callback.cc
index 47a1549e93..7c6e8d8697 100644
--- a/src/api/callback.cc
+++ b/src/api/callback.cc
@@ -17,8 +17,6 @@ using v8::Object;
using v8::String;
using v8::Value;
-using AsyncHooks = Environment::AsyncHooks;
-
CallbackScope::CallbackScope(Isolate* isolate,
Local<Object> object,
async_context asyncContext)