Index: fxjs/fxjs_v8.cpp |
diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp |
index d74d355dc971510eb2c1fa1739c0fbfd2f8d3d88..5ce8c475698b2e831223d84f76e170cc8bec7ee6 100644 |
--- a/fxjs/fxjs_v8.cpp |
+++ b/fxjs/fxjs_v8.cpp |
@@ -233,14 +233,6 @@ CFXJS_Engine* CFXJS_Engine::CurrentEngineFromIsolate(v8::Isolate* pIsolate) { |
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) { |
if (pObj.IsEmpty() || !pObj->InternalFieldCount()) |