summaryrefslogtreecommitdiff
path: root/fxjs/cjs_timerobj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_timerobj.cpp')
-rw-r--r--fxjs/cjs_timerobj.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_timerobj.cpp b/fxjs/cjs_timerobj.cpp
index 59d38423af..f11d3fda8f 100644
--- a/fxjs/cjs_timerobj.cpp
+++ b/fxjs/cjs_timerobj.cpp
@@ -21,8 +21,8 @@ void CJS_TimerObj::DefineJSObjects(CFXJS_Engine* pEngine) {
JSConstructor<CJS_TimerObj>, JSDestructor);
}
-CJS_TimerObj::CJS_TimerObj(v8::Local<v8::Object> pObject)
- : CJS_Object(pObject), m_nTimerID(0) {}
+CJS_TimerObj::CJS_TimerObj(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)
+ : CJS_Object(pObject, pRuntime) {}
CJS_TimerObj::~CJS_TimerObj() = default;