diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-08-05 09:02:13 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-08-05 09:02:13 +0200 |
commit | 29007840b6deb699174ae5a6ef6b1188d001aa05 (patch) | |
tree | 8e817e13e07a629764f9325510ca502a4ff35a31 /fpdfsdk/include/javascript/JS_Runtime.h | |
parent | e2bad47fa64137fdafacc0ca56434fccac4b028d (diff) | |
download | pdfium-29007840b6deb699174ae5a6ef6b1188d001aa05.tar.xz |
Merge to XFA: Don't dispose the isolate if its provided by the embedder
(cherry picked from commit 7ea305f1bd4efc1838fba053e4399358d6765ec7)
Original Review URL: https://codereview.chromium.org/1269783005 .
BUG=chromium:515718
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1270293002 .
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Runtime.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h index 1fb0348263..1e9f3a97ac 100644 --- a/fpdfsdk/include/javascript/JS_Runtime.h +++ b/fpdfsdk/include/javascript/JS_Runtime.h @@ -73,6 +73,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; }; |