Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/Platform.cpp

Issue 29527588: Issue 5570 - Make V8 isolate injectable into JsEngine (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: fix typo Created Aug. 25, 2017, 3:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/JsEngine.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « src/JsEngine.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld