Chromium Code Reviews| Index: src/api.cc |
| =================================================================== |
| --- src/api.cc (revision 9686) |
| +++ src/api.cc (working copy) |
| @@ -4005,7 +4005,7 @@ |
| bool v8::V8::IdleNotification() { |
| // Returning true tells the caller that it need not |
| // continue to call IdleNotification. |
| - if (!i::Isolate::Current()->IsInitialized()) return true; |
| + if (!isolate || !i::Isolate::Current()->IsInitialized()) return true; |
|
Rico
2011/10/19 07:45:18
Do we have an isolate pointer here? Don't we need
|
| return i::V8::IdleNotification(); |
| } |