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:
Cheng Zhao 2015-05-22 15:30:02 +08:00
parent 01e891652f
commit d1685f79a2
2 changed files with 14 additions and 1 deletions

View file

@ -20,6 +20,9 @@ class JavascriptEnvironment {
}
private:
bool Initialize();
bool initialized_;
gin::IsolateHolder isolate_holder_;
v8::Isolate* isolate_;
v8::Isolate::Scope isolate_scope_;