Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index e39a84f424e08791d72fec63f0e76f8265bd9915..673f3bd79549bb53861320dd2328a2f263cae1c5 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3093,7 +3093,13 @@ static Local<Value> GetPropertyByLookup(i::Isolate* isolate, |
// If the property being looked up is a callback, it can throw |
// an exception. |
EXCEPTION_PREAMBLE(isolate); |
- i::Handle<i::Object> result = i::GetProperty(receiver, name, lookup); |
+ PropertyAttributes attributes; |
+ i::Handle<i::Object> result = i::Object::GetProperty(isolate, |
+ receiver, |
+ receiver, |
+ lookup, |
+ name, |
+ &attributes); |
has_pending_exception = result.is_null(); |
EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>()); |