summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r--fpdfsdk/include/fpdfxfa/fpdfxfa_app.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h
index dd65042189..5ec6de5644 100644
--- a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h
+++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h
@@ -19,7 +19,7 @@ class CPDFXFA_App : public IXFA_AppProvider {
CPDFXFA_App();
~CPDFXFA_App() override;
- FX_BOOL Initialize();
+ FX_BOOL Initialize(FXJSE_HRUNTIME hRuntime);
IXFA_App* GetXFAApp() { return m_pXFAApp; }
FX_BOOL AddFormFillEnv(CPDFDoc_Environment* pEnv);
@@ -92,6 +92,7 @@ class CPDFXFA_App : public IXFA_AppProvider {
FXJSE_HRUNTIME m_hJSERuntime;
IFXJS_Runtime* m_pJSRuntime;
CFX_WideString m_csAppType;
+ bool m_bOwnedRuntime;
};
#endif // FPDFXFA_APP_H_