diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-07 10:17:53 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-07 10:17:53 -0700 |
commit | a72e8e2c4392df725c7e35ed1ae3f891e79e49ec (patch) | |
tree | 99eb91f764c428cd34a3b84e8b9e9bfb239d9e5a /fpdfsdk/src/javascript/JS_Runtime.h | |
parent | cd56a7d6fb05bd0babf316a84280a26ecc649d45 (diff) | |
download | pdfium-a72e8e2c4392df725c7e35ed1ae3f891e79e49ec.tar.xz |
Merge to XFA: Pass v8::Isolate to PDFium at init time.
New code changes in JS_Runtime.cpp.
(cherry picked from commit 3dedace9623fef6161a8666e53a4ab2b9be61e4c)
Original Review URL: https://codereview.chromium.org/1367033002 .
Also merge to XFA: Run FXJS_V8 embedder tests against a shared isolate,
since the two go together.
(cherry picked from commit 4ea721cb7954898a9722c389dae86c62957352d0)
Original Review URL: https://codereview.chromium.org/1377293004 .
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1381633008 .
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Runtime.h')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Runtime.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h index 0576980233..1034ae8c8b 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.h +++ b/fpdfsdk/src/javascript/JS_Runtime.h @@ -10,7 +10,6 @@ #include <set> #include <utility> -#include "../../../third_party/base/nonstd_unique_ptr.h" #include "../../../core/include/fxcrt/fx_basic.h" #include "../../include/javascript/IJavaScript.h" #include "../../include/jsapi/fxjs_v8.h" @@ -71,7 +70,6 @@ class CJS_Runtime : public IFXJS_Runtime { std::set<FieldEvent> m_FieldEventSet; v8::Isolate* m_isolate; bool m_isolateManaged; - nonstd::unique_ptr<FXJS_ArrayBufferAllocator> m_pArrayBufferAllocator; v8::Global<v8::Context> m_context; std::set<Observer*> m_observers; }; |