Initialize V8 in browser process
Previously it was initialized by ProxyResolverV8, but after Chrome 43 V8 started to initialize V8 lazily.
This commit is contained in:
parent
01e891652f
commit
d1685f79a2
2 changed files with 14 additions and 1 deletions
|
@ -20,6 +20,9 @@ class JavascriptEnvironment {
|
|||
}
|
||||
|
||||
private:
|
||||
bool Initialize();
|
||||
|
||||
bool initialized_;
|
||||
gin::IsolateHolder isolate_holder_;
|
||||
v8::Isolate* isolate_;
|
||||
v8::Isolate::Scope isolate_scope_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue