summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2017-12-04 15:42:15 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-04 15:42:15 +0000
commit53190d99102c9b3a5e0a8751e2f4f957d7736ccf (patch)
treea2709328fa393286a6c98504d5e00b949b62ad48 /fpdfsdk
parentf8f19dc2c1b66fbcc2be837c324cab3df0ff3671 (diff)
downloadpdfium-53190d99102c9b3a5e0a8751e2f4f957d7736ccf.tar.xz
Remove XFA isolate tracker
We don't add anything to the tracker lists so we can remove the tracker. The only thing the Initialize and Finialize methods are doing now is to trigger a v8::V8::Dispose which should happen automatically at exit anyway. Change-Id: I1f783ae5a1df3df63fb067ab30310791b6c44929 Reviewed-on: https://pdfium-review.googlesource.com/20192 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdfview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 2736b8dd6a..ad669614bb 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -477,7 +477,6 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* cfg) {
pModuleMgr->Init();
#ifdef PDF_ENABLE_XFA
- FXJSE_Initialize();
BC_Library_Init();
#endif // PDF_ENABLE_XFA
if (cfg && cfg->version >= 2)
@@ -492,7 +491,6 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary() {
#ifdef PDF_ENABLE_XFA
BC_Library_Destroy();
- FXJSE_Finalize();
#endif // PDF_ENABLE_XFA
CPDF_ModuleMgr::Destroy();