Index: fxjs/fxjs_v8.cpp |
diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp |
index 53042542423da0cb831ef043cd6b894b7b81caef..ebe38fdb7f74878a2ed3557c8255951c3cb5ad09 100644 |
--- a/fxjs/fxjs_v8.cpp |
+++ b/fxjs/fxjs_v8.cpp |
@@ -219,6 +219,8 @@ FXJS_PerIsolateData::FXJS_PerIsolateData() : m_pDynamicObjsMap(nullptr) {} |
CFXJS_Engine::CFXJS_Engine() : m_isolate(nullptr) {} |
+CFXJS_Engine::CFXJS_Engine(v8::Isolate* pIsolate) : m_isolate(pIsolate) {} |
+ |
CFXJS_Engine::~CFXJS_Engine() { |
m_V8PersistentContext.Reset(); |
} |