Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d30b2043d239202298d3e627e845bb2e3eee09bc..76690de86bf0c888ec157d0504c6f9f4dfc0275b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2270,12 +2270,13 @@ class JSObject: public JSReceiver { |
// Returns the number of properties on this object filtering out properties |
// with the specified attributes (ignoring interceptors). |
+ // TODO(jkummerow): Deprecated, only used by Object.observe. |
int NumberOfOwnElements(PropertyFilter filter); |
- // Returns the number of enumerable elements (ignoring interceptors). |
- int NumberOfEnumElements(); |
// Returns the number of elements on this object filtering out elements |
// with the specified attributes (ignoring interceptors). |
+ // TODO(jkummerow): Deprecated, only used by Object.observe. |
int GetOwnElementKeys(FixedArray* storage, PropertyFilter filter); |
+ |
static void CollectOwnElementKeys(Handle<JSObject> object, |
KeyAccumulator* keys, |
PropertyFilter filter); |