summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/jsapi/fxjs_v8.cpp
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/src/jsapi/fxjs_v8.cpp
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/src/jsapi/fxjs_v8.cpp')
-rw-r--r--fpdfsdk/src/jsapi/fxjs_v8.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/fpdfsdk/src/jsapi/fxjs_v8.cpp b/fpdfsdk/src/jsapi/fxjs_v8.cpp
index 9b6b5fa445..f015f87136 100644
--- a/fpdfsdk/src/jsapi/fxjs_v8.cpp
+++ b/fpdfsdk/src/jsapi/fxjs_v8.cpp
@@ -370,11 +370,6 @@ void FXJS_ReleaseRuntime(v8::Isolate* pIsolate,
return;
pData->ReleaseDynamicObjsMap();
-#ifdef PDF_ENABLE_XFA
- // XFA, if present, should have already cleaned itself up.
- FXSYS_assert(!pData->m_pFXJSERuntimeData);
-#endif // PDF_ENABLE_XFA
-
int maxID = CFXJS_ObjDefinition::MaxID(pIsolate);
for (int i = 0; i < maxID; ++i) {
CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(pIsolate, i);