From 8894f2745f1ca5be649c118a1f3486fc482c5157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 9 Feb 2016 17:26:48 +0100 Subject: [PATCH] src: replace deprecated CancelTerminateExecution PR-URL: https://github.com/nodejs/node/pull/5159 Reviewed-By: Ben Noordhuis --- src/node_contextify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 866e3bde6d1570..1421528ff61d9a 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -837,7 +837,7 @@ class ContextifyScript : public BaseObject { } if (try_catch.HasCaught() && try_catch.HasTerminated()) { - V8::CancelTerminateExecution(env->isolate()); + env->isolate()->CancelTerminateExecution(); env->ThrowError("Script execution timed out."); try_catch.ReThrow(); return false;