Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8466eed21f85ceb786e9549629dc806d9d383f82..67a99005cb31aa815d7339fa9f2e457678c9125d 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1879,7 +1879,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); |