diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-02-24 21:58:44 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-03-05 22:40:01 +0100 |
commit | cf699a02cae81e09d694a18f857eb07503b6e66c (patch) | |
tree | 7fe255f8cb10c45a3d67817a844396a9c934dbd5 /src/node_platform.cc | |
parent | c2f620ab76c3e42fa1fcdfde82aba7bcba3031e9 (diff) | |
download | android-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