Revision: 11234 Author: [email protected] Date: Thu Apr 5 04:02:02 2012 Log: Merged r11233 into trunk branch.
Ensure default isolate is present in Context::New(). BUG=chromium:118686 [email protected] Review URL: https://chromiumcodereview.appspot.com/10009007 http://code.google.com/p/v8/source/detail?r=11234 Modified: /trunk/src/api.cc /trunk/src/version.cc ======================================= --- /trunk/src/api.cc Wed Apr 4 07:34:26 2012 +++ /trunk/src/api.cc Thu Apr 5 04:02:02 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"); ======================================= --- /trunk/src/version.cc Wed Apr 4 07:34:26 2012 +++ /trunk/src/version.cc Thu Apr 5 04:02:02 2012 @@ -35,7 +35,7 @@ #define MAJOR_VERSION 3 #define MINOR_VERSION 10 #define BUILD_NUMBER 0 -#define PATCH_LEVEL 4 +#define PATCH_LEVEL 5 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) #define IS_CANDIDATE_VERSION 0 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
