summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2015-08-05 08:55:39 +0200
committerJochen Eisinger <jochen@chromium.org>2015-08-05 08:55:39 +0200
commit7ea305f1bd4efc1838fba053e4399358d6765ec7 (patch)
tree8d3e952fcfa3880dedcfc2064f12fb7c342fd059 /fpdfsdk/include/javascript
parent7f6b084fbdde785240f2509ae3617a17937f97ba (diff)
downloadpdfium-7ea305f1bd4efc1838fba053e4399358d6765ec7.tar.xz
Don't dispose the isolate if its provided by the embedderchromium/2474
BUG=chromium:515718 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1269783005 .
Diffstat (limited to 'fpdfsdk/include/javascript')
-rw-r--r--fpdfsdk/include/javascript/JS_Runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h
index f4dabf017e..3be0f76549 100644
--- a/fpdfsdk/include/javascript/JS_Runtime.h
+++ b/fpdfsdk/include/javascript/JS_Runtime.h
@@ -68,6 +68,7 @@ class CJS_Runtime : public IFXJS_Runtime {
CJS_FieldEvent* m_pFieldEventPath;
v8::Isolate* m_isolate;
+ bool m_isolateManaged;
nonstd::unique_ptr<CJS_ArrayBufferAllocator> m_pArrayBufferAllocator;
v8::Global<v8::Context> m_context;
};