Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 2937cec0b133378446822599fdb7b2145963ba38..6917806da8dfe9efe063b574f4d42af088275d7f 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -341,7 +341,7 @@ MaybeObject* JSObject::GetPropertyWithCallback(Object* receiver, |
AccessorDescriptor* callback = |
reinterpret_cast<AccessorDescriptor*>( |
Foreign::cast(structure)->foreign_address()); |
- MaybeObject* value = (callback->getter)(receiver, callback->data); |
+ MaybeObject* value = (callback->getter)(isolate, receiver, callback->data); |
RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
return value; |
} |
@@ -2832,7 +2832,8 @@ MaybeObject* JSObject::SetPropertyWithCallback(Object* structure, |
AccessorDescriptor* callback = |
reinterpret_cast<AccessorDescriptor*>( |
Foreign::cast(structure)->foreign_address()); |
- MaybeObject* obj = (callback->setter)(this, value, callback->data); |
+ MaybeObject* obj = (callback->setter)( |
+ isolate, this, value, callback->data); |
RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
if (obj->IsFailure()) return obj; |
return *value_handle; |