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/api
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-03-20 14:42:02 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2019-03-27 17:30:14 +0300
commit242466167d6379791858ce59ca11d823c2eb4469 (patch)
tree5c937f7f0bbfc7801758e98c4c6f4dbef3b0294a /src/api
parent4565698227c2644cc59bcdb705c4f4c92667d0d7 (diff)
src: move TickInfo 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')
-rw-r--r--src/api/callback.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/callback.cc b/src/api/callback.cc
index 4083ae84879..52a8da35b67 100644
--- a/src/api/callback.cc
+++ b/src/api/callback.cc
@@ -96,7 +96,7 @@ void InternalCallbackScope::Close() {
return;
}
- Environment::TickInfo* tick_info = env_->tick_info();
+ TickInfo* tick_info = env_->tick_info();
if (!env_->can_call_into_js()) return;
if (!tick_info->has_tick_scheduled()) {