Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 3c193a5271502e38bf00ec129b961d1ef662df2c..866bc661733ba85fe12483b718d44cca488b641a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -5022,7 +5022,7 @@ MaybeObject* Map::ShareDescriptor(Descriptor* descriptor) { |
DescriptorArray* new_descriptors; |
MaybeObject* maybe_descriptors = DescriptorArray::Allocate(old_size + 1); |
if (!maybe_descriptors->To(&new_descriptors)) return maybe_descriptors; |
- FixedArray::WhitenessWitness witness(new_descriptors); |
+ DescriptorArray::WhitenessWitness witness(new_descriptors); |
for (int i = 0; i < old_size; ++i) { |
new_descriptors->CopyFrom(i, descriptors, i, witness); |
@@ -5212,7 +5212,7 @@ MaybeObject* Map::CopyAddDescriptor(Descriptor* descriptor, |
MaybeObject* maybe_descriptors = DescriptorArray::Allocate(old_size + 1); |
if (!maybe_descriptors->To(&new_descriptors)) return maybe_descriptors; |
- FixedArray::WhitenessWitness witness(new_descriptors); |
+ DescriptorArray::WhitenessWitness witness(new_descriptors); |
// Copy the descriptors, inserting a descriptor. |
for (int i = 0; i < old_size; ++i) { |
@@ -12911,7 +12911,7 @@ MaybeObject* StringDictionary::TransformPropertiesToFastFor( |
return maybe_descriptors; |
} |
- FixedArray::WhitenessWitness witness(descriptors); |
+ DescriptorArray::WhitenessWitness witness(descriptors); |
int number_of_allocated_fields = |
number_of_fields + unused_property_fields - inobject_props; |