Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index f70d0e0e3dc418fc97a886ee9f8a59001cee7de2..512eaeb3475bd3d24a948bc74ec0a1b084c0f945 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -5608,6 +5608,12 @@ bool v8::String::CanMakeExternal() { |
| } |
| +Isolate* v8::Object::GetIsolate() { |
|
aandrey
2014/10/01 13:21:02
v8::Value ?
|
| + i::Isolate* i_isolate = Utils::OpenHandle(this)->GetIsolate(); |
| + return reinterpret_cast<Isolate*>(i_isolate); |
| +} |
| + |
| + |
| Local<v8::Object> v8::Object::New(Isolate* isolate) { |
| i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
| LOG_API(i_isolate, "Object::New"); |