summaryrefslogtreecommitdiff
path: root/fxjs/cjs_position.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_position.h')
-rw-r--r--fxjs/cjs_position.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_position.h b/fxjs/cjs_position.h
index 7557f01ab7..0f54c2ba63 100644
--- a/fxjs/cjs_position.h
+++ b/fxjs/cjs_position.h
@@ -13,8 +13,8 @@ class CJS_Position : public CJS_Object {
public:
static void DefineJSObjects(CFXJS_Engine* pEngine);
- explicit CJS_Position(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
- ~CJS_Position() override {}
+ CJS_Position(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
+ ~CJS_Position() override;
private:
static int ObjDefnID;