Index: test/BaseJsTest.cpp |
diff --git a/test/BaseJsTest.cpp b/test/BaseJsTest.cpp |
index 2dedd79ad5353e6aed84716fc82f725d35f67983..0f94f08f8131f7b9f3f6d8ad13d975cd5749f9d5 100644 |
--- a/test/BaseJsTest.cpp |
+++ b/test/BaseJsTest.cpp |
@@ -42,11 +42,9 @@ JsEngineCreationParameters::JsEngineCreationParameters() |
AdblockPlus::JsEnginePtr CreateJsEngine(JsEngineCreationParameters&& jsEngineCreationParameters) |
{ |
- static AdblockPlus::ScopedV8IsolatePtr isolate = std::make_shared<AdblockPlus::ScopedV8Isolate>(); |
auto jsEngine = AdblockPlus::JsEngine::New(jsEngineCreationParameters.appInfo, |
std::move(jsEngineCreationParameters.timer), |
- std::move(jsEngineCreationParameters.webRequest), |
- isolate); |
+ std::move(jsEngineCreationParameters.webRequest)); |
jsEngine->SetLogSystem(std::move(jsEngineCreationParameters.logSystem)); |
jsEngine->SetFileSystem(std::move(jsEngineCreationParameters.fileSystem)); |
return jsEngine; |