Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d30bda2ad3986abe8c6217f60ce1059e15e0c541..7a8010ac1740bc511c0a28d889c13e3699cd59ba 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2257,8 +2257,8 @@ class JSObject: public JSReceiver { |
// index. Returns the number of properties added. |
int GetOwnPropertyNames(FixedArray* storage, int index, |
PropertyAttributes filter = NONE); |
- int CollectOwnPropertyNames(KeyAccumulator* keys, |
- PropertyAttributes filter = NONE); |
+ void CollectOwnPropertyNames(KeyAccumulator* keys, |
+ PropertyAttributes filter = NONE); |
// Returns the number of properties on this object filtering out properties |
// with the specified attributes (ignoring interceptors). |
@@ -3401,7 +3401,7 @@ class Dictionary: public HashTable<Derived, Shape, Key> { |
int CopyKeysTo(FixedArray* storage, int index, PropertyAttributes filter, |
SortMode sort_mode); |
// Collect the unsorted keys into the given KeyAccumulator. |
- int CollectKeysTo(KeyAccumulator* keys, PropertyAttributes filter); |
+ void CollectKeysTo(KeyAccumulator* keys, PropertyAttributes filter); |
// Copies enumerable keys to preallocated fixed array. |
void CopyEnumKeysTo(FixedArray* storage); |