summaryrefslogtreecommitdiff
path: root/fxjs/cjs_icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_icon.cpp')
-rw-r--r--fxjs/cjs_icon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_icon.cpp b/fxjs/cjs_icon.cpp
index 40a2936d95..786d19ca35 100644
--- a/fxjs/cjs_icon.cpp
+++ b/fxjs/cjs_icon.cpp
@@ -24,8 +24,8 @@ void CJS_Icon::DefineJSObjects(CFXJS_Engine* pEngine) {
DefineProps(pEngine, ObjDefnID, PropertySpecs, FX_ArraySize(PropertySpecs));
}
-CJS_Icon::CJS_Icon(v8::Local<v8::Object> pObject)
- : CJS_Object(pObject), m_swIconName(L"") {}
+CJS_Icon::CJS_Icon(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)
+ : CJS_Object(pObject, pRuntime) {}
CJS_Icon::~CJS_Icon() = default;