Index: xfa/fxfa/parser/xfa_script_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_imp.cpp b/xfa/fxfa/parser/xfa_script_imp.cpp |
index e20a4e0b2af9c5b1998a94f44975b35ae759757b..2120e9a4f230ef4770d0b00bfbbee9d99d919239 100644 |
--- a/xfa/fxfa/parser/xfa_script_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_script_imp.cpp |
@@ -19,6 +19,7 @@ |
#include "xfa/fxfa/parser/xfa_script_resolveprocessor.h" |
#include "xfa/fxfa/parser/xfa_utils.h" |
#include "xfa/fxjse/cfxjse_arguments.h" |
+#include "xfa/fxfa/app/xfa_ffnotify.h" |
CXFA_ScriptContext::CXFA_ScriptContext(CXFA_Document* pDocument) |
: m_pDocument(pDocument), |
@@ -133,7 +134,7 @@ void CXFA_ScriptContext::GlobalPropertySetter(FXJSE_HOBJECT hObject, |
return; |
} |
} |
- IXFA_Notify* pNotify = pDoc->GetNotify(); |
+ CXFA_FFNotify* pNotify = pDoc->GetNotify(); |
if (!pNotify) { |
return; |
} |
@@ -213,7 +214,7 @@ void CXFA_ScriptContext::GlobalPropertyGetter(FXJSE_HOBJECT hObject, |
hValue, TRUE)) { |
return; |
} |
- IXFA_Notify* pNotify = pDoc->GetNotify(); |
+ CXFA_FFNotify* pNotify = pDoc->GetNotify(); |
if (!pNotify) { |
return; |
} |
@@ -777,6 +778,3 @@ void CXFA_ScriptContext::AddNodesOfRunScript(CXFA_Node* pNode) { |
m_pScriptNodeArray->Add(pNode); |
} |
} |
-IXFA_ScriptContext* XFA_ScriptContext_Create(CXFA_Document* pDocument) { |
- return new CXFA_ScriptContext(pDocument); |
-} |