Index: src/snapshot/serialize.cc |
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc |
index fe9765064c8284404d0f948e09de6253e227ab7b..91a81abdabff9a389cdaad8cc59f7d4098a4e296 100644 |
--- a/src/snapshot/serialize.cc |
+++ b/src/snapshot/serialize.cc |
@@ -1926,7 +1926,7 @@ void Serializer::ObjectSerializer::Serialize() { |
if (object_->IsPrototypeInfo()) { |
Object* prototype_users = PrototypeInfo::cast(object_)->prototype_users(); |
if (prototype_users->IsWeakFixedArray()) { |
- WeakFixedArray::cast(prototype_users)->Compact(); |
+ WeakFixedArray::cast(prototype_users)->CompactPrototypeUserList(); |
} |
} |