| Index: src/Platform.cpp |
| diff --git a/src/Platform.cpp b/src/Platform.cpp |
| index a08150ce6669d6795aec61d8ca897841d055ad20..1435a634ec73f66dd3bdf1e64103df906463a065 100644 |
| --- a/src/Platform.cpp |
| +++ b/src/Platform.cpp |
| @@ -64,12 +64,12 @@ Platform::~Platform() |
| { |
| } |
| -void Platform::SetUpJsEngine(const AppInfo& appInfo) |
| +void Platform::SetUpJsEngine(const AppInfo& appInfo, std::unique_ptr<IV8IsolateProvider> isolate) |
| { |
| std::lock_guard<std::mutex> lock(modulesMutex); |
| if (jsEngine) |
| return; |
| - jsEngine = JsEngine::New(appInfo, *this); |
| + jsEngine = JsEngine::New(appInfo, *this, std::move(isolate)); |
| } |
| JsEngine& Platform::GetJsEngine() |