Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index eb2ffcff18094e3e3b2fe37c4a1dbe7276ea9e97..d40bb233874e034d29751c98be0052fbdfdacd83 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -676,8 +676,8 @@ void V8::DisposeGlobal(i::Object** obj) { |
| } |
| -int V8::Eternalize(i::Isolate* isolate, i::Object** handle) { |
| - return isolate->eternal_handles()->Create(isolate, *handle); |
| +void V8::Eternalize(i::Isolate* isolate, i::Object** handle, int* index) { |
|
rossberg
2013/08/12 15:13:13
Is there a reason for changing this? I'd keep the
dcarney
2013/08/13 06:46:24
The assertion that you're not reinitializing an et
|
| + isolate->eternal_handles()->Create(isolate, *handle, index); |
| } |