summaryrefslogtreecommitdiff
path: root/fxjs/cjs_font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_font.cpp')
-rw-r--r--fxjs/cjs_font.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/fxjs/cjs_font.cpp b/fxjs/cjs_font.cpp
index 54b392f9a7..4d18eea2c3 100644
--- a/fxjs/cjs_font.cpp
+++ b/fxjs/cjs_font.cpp
@@ -29,3 +29,8 @@ void CJS_Font::DefineJSObjects(CFXJS_Engine* pEngine) {
ObjDefnID = pEngine->DefineObj("font", FXJSOBJTYPE_STATIC, nullptr, nullptr);
DefineConsts(pEngine, ObjDefnID, ConstSpecs, FX_ArraySize(ConstSpecs));
}
+
+CJS_Font::CJS_Font(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)
+ : CJS_Object(pObject, pRuntime) {}
+
+CJS_Font::~CJS_Font() = default;