Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 0dffbb4dab13ca5dc97e417634597118d048ca3f..3bd60492e34e38ba748042932111a695cdaa9329 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -286,7 +286,7 @@ Handle<Object> CallSite::GetMethodName() { |
Handle<JSObject> current_obj = Handle<JSObject>::cast(current); |
if (current_obj->IsAccessCheckNeeded()) break; |
Handle<FixedArray> keys = |
- KeyAccumulator::GetEnumPropertyKeys(isolate_, current_obj); |
+ KeyAccumulator::GetOwnEnumPropertyKeys(isolate_, current_obj); |
for (int i = 0; i < keys->length(); i++) { |
HandleScope inner_scope(isolate_); |
if (!keys->get(i)->IsName()) continue; |