Index: src/runtime/runtime-forin.cc |
diff --git a/src/runtime/runtime-forin.cc b/src/runtime/runtime-forin.cc |
index 57a05f6f3b6a84d48bf0c9cd38d470c54ede9e57..2fa6cbee19fffb875ee48d873342b038c10bab9a 100644 |
--- a/src/runtime/runtime-forin.cc |
+++ b/src/runtime/runtime-forin.cc |
@@ -24,8 +24,9 @@ MaybeHandle<HeapObject> Enumerate(Handle<JSReceiver> receiver) { |
if (!receiver->IsSimpleEnum()) { |
Handle<FixedArray> keys; |
ASSIGN_RETURN_ON_EXCEPTION( |
- isolate, keys, JSReceiver::GetKeys(receiver, JSReceiver::INCLUDE_PROTOS, |
- ENUMERABLE_STRINGS), |
+ isolate, keys, |
+ JSReceiver::GetKeys(receiver, KeyCollectionType::INCLUDE_PROTOS, |
+ ENUMERABLE_STRINGS), |
HeapObject); |
// Test again, since cache may have been built by GetKeys() calls above. |
if (!receiver->IsSimpleEnum()) return keys; |