DescriptionV8 API: Add a missing NULL check into Isolate::GetCurrentContext().
There is a missing NULL check for: "internal_isolate->context() != NULL".
Right now before calling this method one should call v8::Context::InContext()
first to perform this check, otherwise we may crash. But this static method
will do this check on the current isolate, which may not be the same as a given one.
BUG=249655
R=yurys@chromium.org,mvstanton@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15266
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|