Index: src/heap/incremental-marking-inl.h |
diff --git a/src/heap/incremental-marking-inl.h b/src/heap/incremental-marking-inl.h |
index 42b3dcb127da27fc1ebd937912c43580735dd596..d523841a872e36e8247b7dd4d89df0d78260748c 100644 |
--- a/src/heap/incremental-marking-inl.h |
+++ b/src/heap/incremental-marking-inl.h |
@@ -85,7 +85,7 @@ void IncrementalMarking::BlackToGreyAndUnshift(HeapObject* obj, |
DCHECK(IsMarking()); |
Marking::BlackToGrey(mark_bit); |
int obj_size = obj->Size(); |
- MemoryChunk::IncrementLiveBytesFromGC(obj->address(), -obj_size); |
+ MemoryChunk::IncrementLiveBytesFromGC(obj, -obj_size); |
bytes_scanned_ -= obj_size; |
int64_t old_bytes_rescanned = bytes_rescanned_; |
bytes_rescanned_ = old_bytes_rescanned + obj_size; |