summaryrefslogtreecommitdiff
path: root/fxjs/JS_Define.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/JS_Define.cpp')
-rw-r--r--fxjs/JS_Define.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/JS_Define.cpp b/fxjs/JS_Define.cpp
index 744cb7dd77..d5b1cefeda 100644
--- a/fxjs/JS_Define.cpp
+++ b/fxjs/JS_Define.cpp
@@ -167,8 +167,8 @@ int DateFromTime(double t) {
} // namespace
-void JSDestructor(CFXJS_Engine* pEngine, v8::Local<v8::Object> obj) {
- pEngine->SetObjectPrivate(obj, nullptr);
+void JSDestructor(v8::Local<v8::Object> obj) {
+ CFXJS_Engine::SetObjectPrivate(obj, nullptr);
}
double JS_GetDateTime() {