summaryrefslogtreecommitdiff
path: root/fxjs/cjs_console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_console.cpp')
-rw-r--r--fxjs/cjs_console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjs_console.cpp b/fxjs/cjs_console.cpp
index 2b7c84ad78..8ed3472a6c 100644
--- a/fxjs/cjs_console.cpp
+++ b/fxjs/cjs_console.cpp
@@ -28,7 +28,8 @@ void CJS_Console::DefineJSObjects(CFXJS_Engine* pEngine) {
DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs));
}
-CJS_Console::CJS_Console(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
+CJS_Console::CJS_Console(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)
+ : CJS_Object(pObject, pRuntime) {}
CJS_Console::~CJS_Console() = default;