diff options
Diffstat (limited to 'xfa/fxjse/context.cpp')
-rw-r--r-- | xfa/fxjse/context.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxjse/context.cpp b/xfa/fxjse/context.cpp index 49d0b44338..d40e2af223 100644 --- a/xfa/fxjse/context.cpp +++ b/xfa/fxjse/context.cpp @@ -65,8 +65,7 @@ CFXJSE_Value* FXJSE_Context_GetGlobalObject(CFXJSE_Context* pContext) { if (!pContext) return nullptr; - CFXJSE_Value* lpValue = CFXJSE_Value::Create(pContext->GetRuntime()); - ASSERT(lpValue); + CFXJSE_Value* lpValue = new CFXJSE_Value(pContext->GetRuntime()); pContext->GetGlobalObject(lpValue); return lpValue; } |