Revision: 11233 Author: [email protected] Date: Thu Apr 5 03:54:11 2012 Log: Ensure default isolate is present in Context::New().
[email protected] BUG=chromium:118686 TEST=Run chrome with --single-process. Review URL: https://chromiumcodereview.appspot.com/9949008 http://code.google.com/p/v8/source/detail?r=11233 Modified: /branches/bleeding_edge/src/api.cc ======================================= --- /branches/bleeding_edge/src/api.cc Wed Apr 4 07:28:00 2012 +++ /branches/bleeding_edge/src/api.cc Thu Apr 5 03:54:11 2012 @@ -4287,6 +4287,7 @@ v8::ExtensionConfiguration* extensions, v8::Handle<ObjectTemplate> global_template, v8::Handle<Value> global_object) { + i::Isolate::EnsureDefaultIsolate(); i::Isolate* isolate = i::Isolate::Current(); EnsureInitializedForIsolate(isolate, "v8::Context::New()"); LOG_API(isolate, "Context::New"); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
