Reviewers: Rico, Description: Fix from Paul Lind that helps post-isolates V8 work with older Android releases. See http://code.google.com/p/v8/issues/detail?id=1780
Please review this at http://codereview.chromium.org/8347032/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/api.cc 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; return i::V8::IdleNotification(); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
