| Index: src/contexts.cc
|
| diff --git a/src/contexts.cc b/src/contexts.cc
|
| index fbd99b19ce227e2195f80b198138a97cbbd5b202..cb5e852d7d669c07c8d8b950016defff1572f49c 100644
|
| --- a/src/contexts.cc
|
| +++ b/src/contexts.cc
|
| @@ -108,9 +108,9 @@ 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::GetOwnPropertyAttribute(object, name);
|
| + *attributes = JSReceiver::GetOwnPropertyAttributes(object, name);
|
| } else {
|
| - *attributes = JSReceiver::GetPropertyAttribute(object, name);
|
| + *attributes = JSReceiver::GetPropertyAttributes(object, name);
|
| }
|
| if (isolate->has_pending_exception()) return Handle<Object>();
|
|
|
|
|