| Index: fxjs/fxjs_v8.cpp
|
| diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp
|
| index 5ce8c475698b2e831223d84f76e170cc8bec7ee6..d74d355dc971510eb2c1fa1739c0fbfd2f8d3d88 100644
|
| --- a/fxjs/fxjs_v8.cpp
|
| +++ b/fxjs/fxjs_v8.cpp
|
| @@ -232,6 +232,14 @@
|
| pIsolate->GetCurrentContext()->GetAlignedPointerFromEmbedderData(
|
| kPerContextDataIndex));
|
| }
|
| +
|
| +#ifdef PDF_ENABLE_XFA
|
| +// static
|
| +void CFXJS_Engine::SetForV8Context(v8::Local<v8::Context> v8Context,
|
| + CFXJS_Engine* pEngine) {
|
| + v8Context->SetAlignedPointerInEmbedderData(kPerContextDataIndex, pEngine);
|
| +}
|
| +#endif // PDF_ENABLE_XFA
|
|
|
| // static
|
| int CFXJS_Engine::GetObjDefnID(v8::Local<v8::Object> pObj) {
|
|
|