Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index bb95e587570acc12897e6c070780cd2dd38bcd8c..ad6bb6fedbdea2ebef0f03aefe38dfe6b30a89fb 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1865,7 +1865,7 @@ class JSReceiver: public HeapObject { |
Handle<Object> properties); |
// "virtual" dispatcher to the correct [[DefineOwnProperty]] implementation. |
- static bool DefineOwnProperty(Isolate* isolate, Handle<JSObject> object, |
+ static bool DefineOwnProperty(Isolate* isolate, Handle<JSReceiver> object, |
Handle<Object> key, PropertyDescriptor* desc, |
ShouldThrow should_throw); |