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