Index: src/heap/scavenger-inl.h |
diff --git a/src/heap/scavenger-inl.h b/src/heap/scavenger-inl.h |
index 6ac64f2eb697ccfb89a52ccbde8cb511e73c7ce2..007c29703d2b52442e792a9d2682adb15f3b247a 100644 |
--- a/src/heap/scavenger-inl.h |
+++ b/src/heap/scavenger-inl.h |
@@ -38,7 +38,8 @@ void Scavenger::ScavengeObject(HeapObject** p, HeapObject* object) { |
// static |
-void StaticScavengeVisitor::VisitPointer(Heap* heap, Object** p) { |
+void StaticScavengeVisitor::VisitPointer(Heap* heap, HeapObject* obj, |
+ Object** p) { |
Object* object = *p; |
if (!heap->InNewSpace(object)) return; |
Scavenger::ScavengeObject(reinterpret_cast<HeapObject**>(p), |