From b16d7a646c94074e1b6c06dff20b60f9c1867b9f 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 usage of 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 063b0c00065408..6718d4c8cd35ea 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -832,7 +832,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;