Index: src/snapshot/serializer.cc |
diff --git a/src/snapshot/serializer.cc b/src/snapshot/serializer.cc |
index 625958812fecc072bf7c32d32aa94b64afd38bca..306abd543585d814de2ec87cfc3cc2a8156dcef2 100644 |
--- a/src/snapshot/serializer.cc |
+++ b/src/snapshot/serializer.cc |
@@ -99,7 +99,7 @@ void Serializer::SerializeDeferredObjects() { |
sink_.Put(kSynchronize, "Finished with deferred objects"); |
} |
-void Serializer::VisitPointers(Object** start, Object** end) { |
+void Serializer::VisitRootPointers(Root root, Object** start, Object** end) { |
for (Object** current = start; current < end; current++) { |
if ((*current)->IsSmi()) { |
PutSmi(Smi::cast(*current)); |