Chromium Code Reviews| Index: src/api.cc |
| =================================================================== |
| --- src/api.cc (revision 8975) |
| +++ src/api.cc (working copy) |
| @@ -4118,7 +4118,7 @@ |
| v8::Local<v8::Context> Context::GetEntered() { |
| i::Isolate* isolate = i::Isolate::Current(); |
| - if (IsDeadCheck(isolate, "v8::Context::GetEntered()")) { |
| + if (!EnsureInitializedForIsolate(isolate, "v8::Context::GetEntered()")) { |
|
Vitaly Repeshko
2011/08/19 14:15:38
While this will work, we could be a bit fancier he
Sven Panne
2011/08/19 15:01:11
The underlying problem is that r8833 changed our e
Vitaly Repeshko
2011/08/19 15:17:38
Well, the real underlying issue here is that our o
|
| return Local<Context>(); |
| } |
| i::Handle<i::Object> last = |