diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-03-20 17:52:28 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-03-27 17:30:19 +0300 |
commit | 9d854fb60cd4a7386a23add2900fa224dcb1e2d5 (patch) | |
tree | 8ed62ab706f98641b55eb3f7871c48a62c3d004b /src/node_contextify.cc | |
parent | 9f37d3c114b2c4233e58bdce8d82a06cac467738 (diff) |
src: move ShouldNotAbortOnUncaughtScope 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/node_contextify.cc')
-rw-r--r-- | src/node_contextify.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 621fa7eb16f..087727d93a9 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -719,7 +719,7 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) { compile_options = ScriptCompiler::kConsumeCodeCache; TryCatchScope try_catch(env); - Environment::ShouldNotAbortOnUncaughtScope no_abort_scope(env); + ShouldNotAbortOnUncaughtScope no_abort_scope(env); Context::Scope scope(parsing_context); MaybeLocal<UnboundScript> v8_script = ScriptCompiler::CompileUnboundScript( |