summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
diff options
context:
space:
mode:
authorjinming_wang <jinming_wang@foxitsoftware.com>2016-02-04 09:41:56 +0800
committerjinming_wang <jinming_wang@foxitsoftware.com>2016-02-04 09:41:56 +0800
commit486615821300724aef55035f4f831f548fb9cab6 (patch)
treeb5ccf7e0f7425a9039b6ea349a996396bad1cbf5 /fpdfsdk/include
parent99ddbfbcc3d0e8a52c8f8a4ec22462d9e00c1c6a (diff)
downloadpdfium-486615821300724aef55035f4f831f548fb9cab6.tar.xz
Pdfium does not create isolate when it runs in chromium
BUG=pdfium:373 R=jochen@chromium.org Review URL: https://codereview.chromium.org/1652873003 .
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_