summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_runtime.h')
-rw-r--r--fxjs/cjs_runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_runtime.h b/fxjs/cjs_runtime.h
index 7ecc0d5ce4..5d55b9a492 100644
--- a/fxjs/cjs_runtime.h
+++ b/fxjs/cjs_runtime.h
@@ -27,7 +27,7 @@ class CJS_Runtime : public IJS_Runtime,
public:
using FieldEvent = std::pair<WideString, JS_EVENT_T>;
- static CJS_Runtime* CurrentRuntimeFromIsolate(v8::Isolate* pIsolate);
+ static CJS_Runtime* RuntimeFromIsolateCurrentContext(v8::Isolate* pIsolate);
explicit CJS_Runtime(CPDFSDK_FormFillEnvironment* pFormFillEnv);
~CJS_Runtime() override;