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

Unified Diff: src/JsContext.cpp

Issue 6233220328718336: Issue #3593, #1197- fix isolate management (Closed)
Patch Set: fix the crash (hacky) Created Nov. 16, 2015, 4:51 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 | « libadblockplus.gyp ('k') | src/JsEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/JsContext.cpp
diff --git a/src/JsContext.cpp b/src/JsContext.cpp
index 02858688b5d7be2c3bf3c313fef10a0671239d21..64c112c08f232ef720e5172d9490a4b2c68f8366 100644
--- a/src/JsContext.cpp
+++ b/src/JsContext.cpp
@@ -18,8 +18,8 @@
#include "JsContext.h"
AdblockPlus::JsContext::JsContext(const JsEnginePtr jsEngine)
- : locker(jsEngine->isolate), isolateScope(jsEngine->isolate),
- handleScope(jsEngine->isolate),
- contextScope(v8::Local<v8::Context>::New(jsEngine->isolate, *jsEngine->context))
+ : locker(jsEngine->GetIsolate()), isolateScope(jsEngine->GetIsolate()),
+ handleScope(jsEngine->GetIsolate()),
+ contextScope(v8::Local<v8::Context>::New(jsEngine->GetIsolate(), *jsEngine->context))
{
}
« no previous file with comments | « libadblockplus.gyp ('k') | src/JsEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld