| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index c931f520b7aea13f03a45941eca58e76d05b65cb..26b10523f907c3963ff7fff841f53b096102f7a0 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -3672,7 +3672,7 @@ class PointerUpdateJobTraits {
|
| private:
|
| static void UpdateUntypedPointers(Heap* heap, MemoryChunk* chunk) {
|
| if (direction == OLD_TO_NEW) {
|
| - RememberedSet<OLD_TO_NEW>::Iterate(chunk, [heap, chunk](Address slot) {
|
| + RememberedSet<OLD_TO_NEW>::Iterate(chunk, [heap](Address slot) {
|
| return CheckAndUpdateOldToNewSlot(heap, slot);
|
| });
|
| } else {
|
|
|