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