Index: fpdfsdk/include/fpdfxfa/fpdfxfa_app.h |
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h |
index dd65042189c3af32c1546e7b322bcb51c4f1074f..5ec6de5644e28a6e7eff8db06903cc1842431a24 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_ |