Use RJSVerifiedArray inside ArrayPropertyNames

This commit is contained in:
Scott Kyle 2015-09-28 17:30:15 -07:00
parent 70ee822f19
commit 1822b0a2d6
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ JSValueRef ArrayGetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef pr
}
void ArrayPropertyNames(JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames) {
ObjectArray *array = RJSGetInternal<ObjectArray *>(object);
ObjectArray *array = RJSVerifiedArray(object);
size_t size = array->size();
char str[32];