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..ce3931149b2f712f0e3d25365cb69072f6cc7276 100644 |
--- a/xfa/fxfa/parser/xfa_script_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_script_imp.cpp |
@@ -7,6 +7,7 @@ |
#include "xfa/fxfa/parser/xfa_script_imp.h" |
#include "core/fxcrt/include/fx_ext.h" |
+#include "xfa/fxfa/app/xfa_ffnotify.h" |
#include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" |
#include "xfa/fxfa/parser/xfa_docdata.h" |
#include "xfa/fxfa/parser/xfa_doclayout.h" |
@@ -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); |
-} |