Chromium Code Reviews| Index: src/api.cc |
| =================================================================== |
| --- src/api.cc (revision 8987) |
| +++ src/api.cc (working copy) |
| @@ -3779,7 +3779,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()")) { |
| return Local<Context>(); |
| } |
| i::Handle<i::Object> last = |