Index: xfa/fxjse/dynprop.cpp |
diff --git a/xfa/fxjse/dynprop.cpp b/xfa/fxjse/dynprop.cpp |
index 6e98d824e3855d884f906afd994f68d367df35ad..946fe42c1b5c1cd50371d06314cbf68e697b12f8 100644 |
--- a/xfa/fxjse/dynprop.cpp |
+++ b/xfa/fxjse/dynprop.cpp |
@@ -22,9 +22,8 @@ static void FXJSE_DynPropGetterAdapter_MethodCallback( |
new CFXJSE_Value(info.GetIsolate())); |
lpThisValue->ForceSetValue(info.This()); |
std::unique_ptr<CFXJSE_Value> lpRetValue(new CFXJSE_Value(info.GetIsolate())); |
- CFXJSE_ArgumentsImpl impl = {&info, lpRetValue.get()}; |
- lpClass->dynMethodCall(lpThisValue.get(), szFxPropName, |
- reinterpret_cast<CFXJSE_Arguments&>(impl)); |
+ CFXJSE_Arguments impl(&info, lpRetValue.get()); |
+ lpClass->dynMethodCall(lpThisValue.get(), szFxPropName, impl); |
if (!lpRetValue->DirectGetValue().IsEmpty()) { |
info.GetReturnValue().Set(lpRetValue->DirectGetValue()); |
} |