Index: fpdfsdk/javascript/cjs_runtime.cpp |
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp |
index 69d61dc94012e1b6ba54dcc5f01711eb2fd68430..503392fe630475cb41ecfc11bf939cb25ec12253 100644 |
--- a/fpdfsdk/javascript/cjs_runtime.cpp |
+++ b/fpdfsdk/javascript/cjs_runtime.cpp |
@@ -277,7 +277,7 @@ FX_BOOL CJS_Runtime::GetValueByName(const CFX_ByteStringC& utf8Name, |
GetIsolate(), name, v8::String::kNormalString, utf8Name.GetLength())); |
if (propvalue.IsEmpty()) { |
- FXJSE_Value_SetUndefined(pValue); |
+ pValue->SetUndefined(); |
return FALSE; |
} |
pValue->ForceSetValue(propvalue); |