| Index: src/contexts.cc
|
| diff --git a/src/contexts.cc b/src/contexts.cc
|
| index 58ae49a9cc853a93c9aafef08b10cf5a50f3fc83..1d0e2f891a5a2b72291ede24718ee287cfaf5161 100644
|
| --- a/src/contexts.cc
|
| +++ b/src/contexts.cc
|
| @@ -108,7 +108,7 @@ Handle<Object> Context::Lookup(Handle<String> name,
|
| // to only do a local lookup for context extension objects.
|
| if ((flags & FOLLOW_PROTOTYPE_CHAIN) == 0 ||
|
| object->IsJSContextExtensionObject()) {
|
| - *attributes = JSReceiver::GetLocalPropertyAttribute(object, name);
|
| + *attributes = JSReceiver::GetOwnPropertyAttribute(object, name);
|
| } else {
|
| *attributes = JSReceiver::GetPropertyAttribute(object, name);
|
| }
|
|
|