| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 7969e7d4c561c8726112f1aa6fa909238e74020e..a150920b50a570dd826ad7a2c4cd17de83258413 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -3318,7 +3318,7 @@ PropertyAttributes JSObject::GetElementAttributeWithReceiver(
|
| Object* proto = GetPrototype();
|
| if (proto->IsNull()) return ABSENT;
|
| ASSERT(proto->IsJSGlobalObject());
|
| - return JSReceiver::cast(proto)->GetElementAttributeWithReceiver(
|
| + return JSObject::cast(proto)->GetElementAttributeWithReceiver(
|
| receiver, index, continue_search);
|
| }
|
|
|
|
|