Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 1f4881037bdd80375a9a503981714dedc880a72a..612267b878d20eb4987a27cd2116b7335e0d342d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13570,7 +13570,7 @@ bool JSArray::IsReadOnlyLengthDescriptor(Handle<Map> jsarray_map) { |
DCHECK(!jsarray_map->is_dictionary_map()); |
LookupResult lookup(isolate); |
Handle<Name> length_string = isolate->factory()->length_string(); |
- jsarray_map->LookupDescriptor(NULL, *length_string, &lookup); |
+ jsarray_map->LookupDescriptor(*length_string, &lookup); |
return lookup.IsReadOnly(); |
} |