| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 36434cd02193ec69cad227330892f38caf7c5a97..4c4fdc014d79c19e8013b893b8a1cfd8da212b9b 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3685,8 +3685,8 @@ Maybe<bool> v8::Object::SetPrototype(Local<Context> context,
|
| // We do not allow exceptions thrown while setting the prototype
|
| // to propagate outside.
|
| TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate));
|
| - auto result =
|
| - i::JSObject::SetPrototype(self, value_obj, false, i::THROW_ON_ERROR);
|
| + auto result = i::JSObject::SetPrototype(self, value_obj, false,
|
| + i::Object::THROW_ON_ERROR);
|
| has_pending_exception = result.IsNothing();
|
| RETURN_ON_FAILED_EXECUTION_PRIMITIVE(bool);
|
| return Just(true);
|
|
|