From 7ea305f1bd4efc1838fba053e4399358d6765ec7 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Wed, 5 Aug 2015 08:55:39 +0200 Subject: Don't dispose the isolate if its provided by the embedder BUG=chromium:515718 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1269783005 . --- fpdfsdk/include/javascript/JS_Runtime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fpdfsdk/include/javascript') 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 m_pArrayBufferAllocator; v8::Global m_context; }; -- cgit v1.2.3