Index: src/heap/scavenger.cc |
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc |
index c4c3e8bd138d9bac737105114e203a4e693361b0..30e91c627ddf43ffb2d2cfa1aad05e93b63a5cdd 100644 |
--- a/src/heap/scavenger.cc |
+++ b/src/heap/scavenger.cc |
@@ -147,9 +147,7 @@ class ScavengingVisitor : public StaticVisitorBase { |
} |
if (marks_handling == TRANSFER_MARKS) { |
- if (IncrementalMarking::TransferColor(source, target, size)) { |
- MemoryChunk::IncrementLiveBytes(target, size); |
- } |
+ IncrementalMarking::TransferColor(source, target, size); |
} |
} |