| Index: fpdfsdk/include/jsapi/fxjs_v8.h
|
| diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h
|
| index 001823f5fd75d771971054fdede8364c24bdcf29..3b5e6af180e5fdeb4d9c77051069231d9054b5e2 100644
|
| --- a/fpdfsdk/include/jsapi/fxjs_v8.h
|
| +++ b/fpdfsdk/include/jsapi/fxjs_v8.h
|
| @@ -64,7 +64,6 @@ extern const wchar_t kFXJSValueNameFxobj[];
|
| extern const wchar_t kFXJSValueNameNull[];
|
| extern const wchar_t kFXJSValueNameUndefined[];
|
|
|
| -
|
| class FXJS_ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
|
| void* Allocate(size_t length) override;
|
| void* AllocateUninitialized(size_t length) override;
|
| @@ -128,11 +127,14 @@ void FXJS_DefineGlobalConst(v8::Isolate* pIsolate,
|
| v8::Local<v8::Value> pDefault);
|
|
|
| // Called after FXJS_Define* calls made.
|
| -void FXJS_InitializeRuntime(v8::Isolate* pIsolate,
|
| - IJS_Runtime* pIRuntime,
|
| - v8::Global<v8::Context>& v8PersistentContext);
|
| +void FXJS_InitializeRuntime(
|
| + v8::Isolate* pIsolate,
|
| + IJS_Runtime* pIRuntime,
|
| + v8::Global<v8::Context>* pV8PersistentContext,
|
| + std::vector<v8::Global<v8::Object>*>* pStaticObjects);
|
| void FXJS_ReleaseRuntime(v8::Isolate* pIsolate,
|
| - v8::Global<v8::Context>& v8PersistentContext);
|
| + v8::Global<v8::Context>* pV8PersistentContext,
|
| + std::vector<v8::Global<v8::Object>*>* pStaticObjects);
|
|
|
| // Called as part of FXJS_InitializeRuntime, exposed so PDF can make its
|
| // own contexts compatible with XFA or vice versa.
|
|
|