| Index: xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| index a3b686bb56e8a85300648e2a0a64f0529c291e57..94fa8db96c0b6c320ea88e6c01b7295ec631fe9f 100644
|
| --- a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| +++ b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
|
| @@ -310,7 +310,7 @@
|
| if (iLength >= 1) {
|
| FXJSE_HVALUE hValue = pArguments->GetValue(0);
|
| if (FXJSE_Value_IsObject(hValue)) {
|
| - pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue));
|
| + pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue, nullptr));
|
| } else if (FXJSE_Value_IsUTF8String(hValue)) {
|
| CFX_ByteString bsString;
|
| FXJSE_Value_ToUTF8String(hValue, bsString);
|
| @@ -511,7 +511,7 @@
|
| if (iLength >= 1) {
|
| FXJSE_HVALUE hValue = pArguments->GetValue(0);
|
| if (FXJSE_Value_IsObject(hValue)) {
|
| - pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue));
|
| + pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue, NULL));
|
| } else if (FXJSE_Value_IsUTF8String(hValue)) {
|
| CFX_ByteString bsString;
|
| FXJSE_Value_ToUTF8String(hValue, bsString);
|
|
|