Add ability to get all the keys from a WKDictionaryRef
Created attachment 64790 [details] Patch
Comment on attachment 64790 [details] Patch > +PassRefPtr<ImmutableArray> ImmutableDictionary::keys() Can this be a const member function? > + size_t size = m_map.size(); > + if (!size) I thought we used isEmpty() for things like this. > + APIObject** array = new APIObject*[size]; I think using OwnArrayPtr would be better. Or, if not, why not make the type APIObject*[]? > + return ImmutableArray::adopt(array, size); And this should take a PassOwnPtr! r=me
Landed in r65675.