| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index ee8057920165ae7925129722abc3c1e845deaff9..af897057afd10f28d3b48bbce565073d78ab254b 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3495,7 +3495,7 @@ bool v8::Object::SetPrototype(Handle<Value> value) {
|
| // to propagate outside.
|
| TryCatch try_catch;
|
| EXCEPTION_PREAMBLE(isolate);
|
| - i::Handle<i::Object> result = i::SetPrototype(self, value_obj);
|
| + i::Handle<i::Object> result = i::JSObject::SetPrototype(self, value_obj);
|
| has_pending_exception = result.is_null();
|
| EXCEPTION_BAILOUT_CHECK(isolate, false);
|
| return true;
|
|
|