Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 01fc18448f65a36323e866aa1f9b063ab82e5367..71e70a1c0097b9227179083b53767a3560c81a20 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -47,10 +47,10 @@ class ElementsAccessor { |
// all but DICTIONARY_ELEMENTS and SLOW_SLOPPY_ARGUMENTS_ELEMENTS. |
virtual bool HasElement(Handle<JSObject> holder, uint32_t index, |
Handle<FixedArrayBase> backing_store, |
- PropertyAttributes filter = NONE) = 0; |
+ PropertyFilter filter = ALL_PROPERTIES) = 0; |
inline bool HasElement(Handle<JSObject> holder, uint32_t index, |
- PropertyAttributes filter = NONE) { |
+ PropertyFilter filter = ALL_PROPERTIES) { |
return HasElement(holder, index, handle(holder->elements()), filter); |
} |
@@ -120,13 +120,13 @@ class ElementsAccessor { |
Handle<FixedArrayBase> backing_store, |
KeyAccumulator* keys, |
uint32_t range = kMaxUInt32, |
- PropertyAttributes filter = NONE, |
+ PropertyFilter filter = ALL_PROPERTIES, |
uint32_t offset = 0) = 0; |
inline void CollectElementIndices(Handle<JSObject> object, |
KeyAccumulator* keys, |
uint32_t range = kMaxUInt32, |
- PropertyAttributes filter = NONE, |
+ PropertyFilter filter = ALL_PROPERTIES, |
uint32_t offset = 0) { |
CollectElementIndices(object, handle(object->elements()), keys, range, |
filter, offset); |