diff options
Diffstat (limited to 'fxjs/cjs_app.h')
-rw-r--r-- | fxjs/cjs_app.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cjs_app.h b/fxjs/cjs_app.h index e195c6db24..3c3a129641 100644 --- a/fxjs/cjs_app.h +++ b/fxjs/cjs_app.h @@ -20,7 +20,7 @@ class CJS_App : public CJS_Object { public: static void DefineJSObjects(CFXJS_Engine* pEngine); - explicit CJS_App(v8::Local<v8::Object> pObject); + CJS_App(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime); ~CJS_App() override; void TimerProc(GlobalTimer* pTimer); @@ -153,8 +153,8 @@ class CJS_App : public CJS_Object { void RunJsScript(CJS_Runtime* pRuntime, const WideString& wsScript); void ClearTimerCommon(CJS_Runtime* pRuntime, v8::Local<v8::Value> param); - bool m_bCalculate; - bool m_bRuntimeHighLight; + bool m_bCalculate = true; + bool m_bRuntimeHighLight = false; std::set<std::unique_ptr<GlobalTimer>> m_Timers; }; |