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