diff options
Diffstat (limited to 'deps/v8/src/api-natives.cc')
-rw-r--r-- | deps/v8/src/api-natives.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/api-natives.cc b/deps/v8/src/api-natives.cc index d0088bbf1c..2e34595ab5 100644 --- a/deps/v8/src/api-natives.cc +++ b/deps/v8/src/api-natives.cc @@ -115,8 +115,9 @@ MaybeHandle<Object> DefineDataProperty(Isolate* isolate, } #endif - MAYBE_RETURN_NULL(Object::AddDataProperty( - &it, value, attributes, kThrowOnError, StoreOrigin::kNamed)); + MAYBE_RETURN_NULL(Object::AddDataProperty(&it, value, attributes, + Just(ShouldThrow::kThrowOnError), + StoreOrigin::kNamed)); return value; } |