Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index 672c026c3c7fdc3c30abe9674b940a630d8852e0..b629f1980cac6c080c323766167295b46efe55f1 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -72,9 +72,9 @@ bool LookupIterator::IsBootstrapping() const { |
} |
-bool LookupIterator::HasAccess(v8::AccessType access_type) const { |
+bool LookupIterator::HasAccess() const { |
DCHECK_EQ(ACCESS_CHECK, state_); |
- return isolate_->MayNamedAccess(GetHolder<JSObject>(), name_, access_type); |
+ return isolate_->MayAccess(GetHolder<JSObject>()); |
} |