summaryrefslogtreecommitdiff
path: root/src/node_platform.cc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-02-24 21:58:44 +0100
committerAnna Henningsen <anna@addaleax.net>2019-03-05 22:40:01 +0100
commitcf699a02cae81e09d694a18f857eb07503b6e66c (patch)
tree7fe255f8cb10c45a3d67817a844396a9c934dbd5 /src/node_platform.cc
parentc2f620ab76c3e42fa1fcdfde82aba7bcba3031e9 (diff)
downloadandroid-node-v8-cf699a02cae81e09d694a18f857eb07503b6e66c.tar.gz
android-node-v8-cf699a02cae81e09d694a18f857eb07503b6e66c.tar.bz2
android-node-v8-cf699a02cae81e09d694a18f857eb07503b6e66c.zip
src: prefer to get `Environment` from `Context`
We explicitly store the context anyway, and can skip the extra steps introduced in `Environment::GetCurrent()`. PR-URL: https://github.com/nodejs/node/pull/26376 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_platform.cc')
0 files changed, 0 insertions, 0 deletions