Index: xfa/fxfa/parser/cxfa_scriptcontext.cpp |
diff --git a/xfa/fxfa/parser/cxfa_scriptcontext.cpp b/xfa/fxfa/parser/cxfa_scriptcontext.cpp |
index e91e350d32f953a1406db4038200a53fd8e0aa94..22e24c544522c0bfb2c67f7f5f6d23172bd31903 100644 |
--- a/xfa/fxfa/parser/cxfa_scriptcontext.cpp |
+++ b/xfa/fxfa/parser/cxfa_scriptcontext.cpp |
@@ -203,8 +203,8 @@ void CXFA_ScriptContext::GlobalPropertySetter(CFXJSE_Value* pObject, |
if (!pNotify) { |
return; |
} |
- pNotify->GetDocProvider()->SetGlobalProperty(pNotify->GetHDOC(), szPropName, |
- pValue); |
+ pNotify->GetDocEnvironment()->SetGlobalProperty(pNotify->GetHDOC(), |
+ szPropName, pValue); |
} |
FX_BOOL CXFA_ScriptContext::QueryNodeByFlag(CXFA_Node* refNode, |
const CFX_WideStringC& propname, |
@@ -279,8 +279,8 @@ void CXFA_ScriptContext::GlobalPropertyGetter(CFXJSE_Value* pObject, |
if (!pNotify) { |
return; |
} |
- pNotify->GetDocProvider()->GetGlobalProperty(pNotify->GetHDOC(), szPropName, |
- pValue); |
+ pNotify->GetDocEnvironment()->GetGlobalProperty(pNotify->GetHDOC(), |
+ szPropName, pValue); |
} |
void CXFA_ScriptContext::NormalPropertyGetter(CFXJSE_Value* pOriginalValue, |
const CFX_ByteStringC& szPropName, |