summaryrefslogtreecommitdiff
path: root/xfa/src/fxjse/src/value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxjse/src/value.cpp')
-rw-r--r--xfa/src/fxjse/src/value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxjse/src/value.cpp b/xfa/src/fxjse/src/value.cpp
index b3c47b65c0..d4e2c0dbc2 100644
--- a/xfa/src/fxjse/src/value.cpp
+++ b/xfa/src/fxjse/src/value.cpp
@@ -515,7 +515,7 @@ FX_BOOL CFXJSE_Value::Call(CFXJSE_Value* lpReceiver,
? hFunctionValue.As<v8::Object>()
: v8::Local<v8::Object>();
- v8::TryCatch trycatch;
+ v8::TryCatch trycatch(m_pIsolate);
if (hFunctionObject.IsEmpty() || !hFunctionObject->IsCallable()) {
if (lpRetValue)
lpRetValue->ForceSetValue(FXJSE_CreateReturnValue(m_pIsolate, trycatch));