summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/include
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdfxfa/include')
-rw-r--r--fpdfsdk/fpdfxfa/include/fpdfxfa_app.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h b/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
index 3a61ef40c3..b561245dcd 100644
--- a/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
+++ b/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
@@ -20,7 +20,7 @@ class CPDFXFA_App : public IXFA_AppProvider {
CPDFXFA_App();
~CPDFXFA_App() override;
- FX_BOOL Initialize(FXJSE_HRUNTIME hRuntime);
+ FX_BOOL Initialize(v8::Isolate* pIsolate);
CXFA_FFApp* GetXFAApp() { return m_pXFAApp; }
FX_BOOL AddFormFillEnv(CPDFDoc_Environment* pEnv);
@@ -31,7 +31,7 @@ class CPDFXFA_App : public IXFA_AppProvider {
m_bJavaScriptInitialized = bInitialized;
}
- FXJSE_HRUNTIME GetJSERuntime() const { return m_hJSERuntime; }
+ v8::Isolate* GetJSERuntime() const { return m_pIsolate; }
// IFXA_AppProvider:
void GetAppType(CFX_WideString& wsAppType) override;
@@ -84,7 +84,7 @@ class CPDFXFA_App : public IXFA_AppProvider {
FX_BOOL m_bJavaScriptInitialized;
CXFA_FFApp* m_pXFAApp;
- FXJSE_HRUNTIME m_hJSERuntime;
+ v8::Isolate* m_pIsolate;
IFXJS_Runtime* m_pJSRuntime;
CFX_WideString m_csAppType;
bool m_bOwnedRuntime;